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

Consistent --help and --version flag or commands #259

Closed
olafurpg opened this issue Oct 21, 2021 · 0 comments
Closed

Consistent --help and --version flag or commands #259

olafurpg opened this issue Oct 21, 2021 · 0 comments
Assignees
Labels

Comments

@olafurpg
Copy link

It would be nice if all combination of help/-help/--help and version/-version/--version were supported. Currently, some of the combinations return error messages.

❯ scala-cli version
0.0.7
❯ scala-cli help
help: not found
❯ scala-cli --version
Unrecognized argument: --version
❯ scala-cli --help
Usage: scala-cli <COMMAND> [options]
Compile, run, package Scala code.

Help options:
  --usage                   Print usage and exit
  -h, -help, --help         Print help message and exit
  --help-full, --full-help  Print help message, including hidden options, and exit

Scala options:
  --js                                           Enable Scala.JS
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants