-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Version behavior is inconsistent #524
Comments
I agree, thank you for bringing this up (I somehow missed this fact being pointed out in the comments in #248). |
Un-assigning this since >1 month has passed without any movement Anyone else is now free to work on this! |
This issue or PR has been automatically marked as stale because it has not had recent activity. Please add a comment bumping this if you're still interested in it's resolution! Thanks for your help, please let us know if you need anything else. |
In #248 there was a change made so if a user empties the app.Version then the version is not printed as part of the help output.
This has left the -v, --version flags though which then creates the somewhat strange output of "app version" with no version number.
I would really prefer that the Version string is not initialized at all in cli.NewApp and then if the app.Version string is empty set
HideVersion = true
The text was updated successfully, but these errors were encountered: