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

Add -v into the default version options #485

Closed
wants to merge 1 commit into from

Conversation

Goooler
Copy link
Contributor

@Goooler Goooler commented Feb 12, 2024

-v usually equals --version like -h to --help.

`-v` usually equals `--version` like `-h` to `--help`.
@Goooler
Copy link
Contributor Author

Goooler commented Feb 12, 2024

Wired, this test passed on MacOS.

@JakeWharton
Copy link

I tend to think -v is more often use for --verbose

@Goooler
Copy link
Contributor Author

Goooler commented Feb 12, 2024

Honoring it.

val verbose: Boolean by option("-v", "--verbose", help = "Enables verbose mode.")

@Goooler Goooler closed this Feb 12, 2024
@Goooler Goooler deleted the add-v-for-version branch February 12, 2024 15:50
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

Successfully merging this pull request may close these issues.

2 participants