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

Remove irrelevant options from version help message #1737

Merged
merged 2 commits into from Jan 2, 2023

Conversation

lwronski
Copy link
Contributor

@lwronski lwronski commented Dec 28, 2022

It change the output of version help message to:

Usage: scala-cli version [options]
Print the version of the scala runner and the default version of Scala (unless specified in the project).

The version of the scala runner is the version of the command-line tool that runs Scala programs, which
is distinct from the Scala version of a program. We recommend you specify the version of Scala of a
program in the program itself (via a configuration directive). Otherwise, the runner falls back to the default
Scala version defined by the runner.

Version options:
  --cli, --cli-version      Show only plain version
  --scala, --scala-version  Show only plain scala version

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

I added @julienrf as co-authored commit who created the help message content. Help message was copied from #1666 (comment).

Fixes #1666.

Co-authored-by: Julien Richard-Foy <julien@richard-foy.fr>
@Gedochao Gedochao added the SIP-46 All the issues related to SIP-46 to turn Scala CLI into the official scala runner command. label Jan 2, 2023
@lwronski lwronski merged commit 8fdaccb into VirtusLab:main Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SIP-46 All the issues related to SIP-46 to turn Scala CLI into the official scala runner command.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Output of scala version --help could be more helpful
2 participants