You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Passing an invalid option (i.e. erroneously passing an option belonging to another sub-command) to an explicitly chosen sub-command suggests looking at the relevant help.
▶ scala-cli run . --invalid-option
Unrecognized argument: --invalid-option
To list all available options, run
scala-cli run --help
However, doing the same for the default command skips that.
Version(s)
0.1.12
Describe the bug
Passing an invalid option (i.e. erroneously passing an option belonging to another sub-command) to an explicitly chosen sub-command suggests looking at the relevant help.
▶ scala-cli run . --invalid-option Unrecognized argument: --invalid-option To list all available options, run scala-cli run --help
However, doing the same for the default command skips that.
▶ scala-cli . --invalid-option Unrecognized argument: --invalid-option
Expected behaviour
I would expect the following:
▶ scala-cli . --invalid-option Unrecognized argument: --invalid-option To list all available options, run scala-cli --help
The text was updated successfully, but these errors were encountered: