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

CLI: Change default short option to display version from "-V" to "-v" #17621

Merged
merged 1 commit into from
Jun 2, 2021

Conversation

Sgitario
Copy link
Contributor

@Sgitario Sgitario commented Jun 2, 2021

The current short option to display the version is "-V" (uppercase): quarkus -V. This is set by Picocli, but can be changed using the picocli.version.name.0 property.

The problem with -V is that does not match with the other short options to display version in the extensions and other commands which is "-v".
Also, in other command tools like mvn, the option is -v.
I did check and I think that the -v is not conflicting with other existing options.

The current short option to display the version is "-V" (uppercase): `quarkus -V`. This is set by Picocli, but can be changed using the `picocli.version.name.0` property.

The problem with `-V` is that does not match with the other short options to display version in the extensions and other commands which is "-v".
Also, in other command tools like `mvn`, the option is `-v`.
I did check that the `-v` is not conflicting with other existing options.
@quarkus-bot quarkus-bot bot added area/cli Related to quarkus cli (not maven/gradle/etc.) area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins labels Jun 2, 2021
@Sgitario
Copy link
Contributor Author

Sgitario commented Jun 2, 2021

cc @ebullient what do you think about this change?

@gsmet
Copy link
Member

gsmet commented Jun 2, 2021

Looks better to me :).

@quarkus-bot
Copy link

quarkus-bot bot commented Jun 2, 2021

This workflow status is outdated as a new workflow run has been triggered.

Failing Jobs - Building bca4177

Status Name Step Test failures Logs Raw logs
Calculate Test Jobs ⚠️ Check → Logs Raw logs

@ebullient
Copy link
Member

works for me. ;)

@gsmet gsmet merged commit cc94f11 into quarkusio:main Jun 2, 2021
@quarkus-bot quarkus-bot bot added this to the 2.1 - main milestone Jun 2, 2021
@Sgitario Sgitario deleted the cli_change_version_param branch June 3, 2021 04:55
@gsmet gsmet modified the milestones: 2.1 - main, 2.0.0.Final Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Related to quarkus cli (not maven/gradle/etc.) area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants