Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double dash options are incorrectly passed as commands #327

Open
ches opened this issue Jul 25, 2021 · 0 comments
Open

Double dash options are incorrectly passed as commands #327

ches opened this issue Jul 25, 2021 · 0 comments

Comments

@ches
Copy link

ches commented Jul 25, 2021

Recent versions of the OG sbt launcher script accept a number of conventional long-style options such as --no-colors and --supershell=false.

sbt-extras passes these through to sbt as commands that are invalid:

$ sbt --supershell=false
[info] welcome to sbt 1.5.5 (Oracle Corporation Java 1.8.0_202)
[info] loading settings for project global-plugins from plugins.sbt ...
[info] loading global plugins from /Users/ches/.sbt/1.0/plugins
[info] loading settings for project g8-build from plugins.sbt ...
[info] loading project definition from /Users/ches/src/scala/scala-project.g8/target/g8/project
[info] loading settings for project g8 from build.sbt ...
[info] set current project to new-project (in build file:/Users/ches/src/scala/scala-project.g8/target/g8/)
[error] Expected symbol
[error] Not a valid command: --
[error] Expected 'debug'
[error] Expected 'info'
[error] Expected 'warn'
[error] Expected 'error'
[error] Expected 'addPluginSbtFile'
[error] --supershell=false
[error]   ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant