-
-
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
A way to override the version and help message #47
Comments
+1 to this |
+1 |
Sound good. PR on this is welcome |
It would also be nice to be able to override error messages, e.g., for custom formatting of messages like |
Close tj#47. Add override for the help message by calling program.help(message). Add override for the version message by calling program.version(version, flag, message);
Close tj#47. Add override for the help message by calling program.help(message). Add override for the version message by calling program.version(version, flag, message);
This issue will be resolved when v3.0.0 is released. Available now as a prerelease. See #1001 |
Support for customising the version and help descriptions has shipped in v3 (thanks @idmontie): https://github.com/tj/commander.js/releases/tag/v3.0.0 Closing the oldest open bug. Woop! |
Hello,
It can be nice to have the possibility to modify the default version message 'output the version number'
and the default help message 'output usage information'
Thanks
The text was updated successfully, but these errors were encountered: