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

ARG_VERSION / ARG_VERSION_AUTO should use -V instead of -v flag #123

Closed
farmergreg opened this issue Jul 23, 2020 · 1 comment · Fixed by #125
Closed

ARG_VERSION / ARG_VERSION_AUTO should use -V instead of -v flag #123

farmergreg opened this issue Jul 23, 2020 · 1 comment · Fixed by #125
Milestone

Comments

@farmergreg
Copy link
Contributor

I think that -v for version should be changed to -V for the ARG_VERSION macros, or alternatively, no short form should be specified by the macros so that -v is left for the program to use if it needs to.

-v is commonly used to ask for more verbose output in many programs (e.g. ssh -v)
-V is often used (e.g. ssh -V) to print version information

thanks for argbash, I've gotten a ton of benefit out of it and I only discovered it a few days ago.

@matejak matejak added this to the 2.9.0 milestone Jul 24, 2020
@matejak
Copy link
Owner

matejak commented Jul 24, 2020

This is quite subjective, as e.g. https://tldp.org/LDP/abs/html/standard-options.html specifies that -v is ambiguously good for version an verbose. I guess that the easiest way is to make ARG_VERSION configurable in the similar way as ARG_HELP.

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 a pull request may close this issue.

2 participants