-
-
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
Add option to alphabetize help output #910
Comments
#625 is the same request, but for commands |
I think having options sorted is a good default, but am concerned how many users over the years have carefully created custom orders for their help and would be disappointed by an enforced change. Do we need to provide an opt-out for sorting? |
For interest, the POSIX specifications for Utility Conventions say:
However, the utility conventions only include single character options (aka flags) so is describing a simpler situation. |
This issue has not had any activity in over six months. It isn't likely to get acted on due to this report (although it is a reasonable suggestion). Feel free to open a new issue if it comes up again, with new information and renewed interest. Thank you for your contributions. |
Commander 7 allows: program.configureHelp({
sortOptions: true
}) |
The auto-generated
--help
output is a neat feature of this module. What if the flags were listed in alphabetical order? This could particularly help for programs with many flags.The text was updated successfully, but these errors were encountered: