Skip to content

Possibility to turn off or customize version/help option #87

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

Open
ericnewton76 opened this issue Nov 4, 2017 · 2 comments
Open

Possibility to turn off or customize version/help option #87

ericnewton76 opened this issue Nov 4, 2017 · 2 comments

Comments

@ericnewton76
Copy link
Member

Issue by ptylenda
Monday Sep 19, 2016 at 14:43 GMT
Originally opened as gsscoder/commandline#351


It would be a good idea to make it possible to turn off (or at least customize) version and help options, probably via an attribute for the options class. This especially concerns version option - we are migrating from old custom parsers to the CommandLine library and we have noticed that it conflicts with our custom version option (-v, --version). This option is unrelated to version of an application, it concerns version of a file being processed by the executable. In our case it is not possible to use a different option name as we have to maintain 100% backward compatibility inside an enterprise system. Fortunately this "conflict" seems to be only visible in the help screen, when both our custom option and the default option are displayed at once.

@ericnewton76
Copy link
Member Author

Comment by nemec
Saturday Nov 05, 2016 at 07:22 GMT


This is a good idea. Right now both --help and --version are hardcoded into the application.

@ericnewton76
Copy link
Member Author

Comment by cjbush
Tuesday Jan 24, 2017 at 00:23 GMT


+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant