You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rzumer opened this issue
Sep 20, 2019
· 1 comment
· Fixed by #3391
Labels
A-helpArea: documentation, including docs.rs, readme, examples, etc...C-bugCategory: Updating dependenciesE-easyCall for participation: Experience needed to fix: Easy / not much
Actually, it looks like --help displays options as ordered in the input list, but when passing an invalid argument value, the list of possible values displayed is reordered. So it is only an issue in the latter situation for me.
A-helpArea: documentation, including docs.rs, readme, examples, etc...C-bugCategory: Updating dependenciesE-easyCall for participation: Experience needed to fix: Easy / not much
Affected Version of clap
2.33.0
Bug or Feature Request Summary
I have a list of possible numeric values for a given argument, but clap reorders them in alphabetical (non-numeric) order.
Expected Behavior Summary
Being able to tell clap not to reorder my argument list.
Actual Behavior Summary
A list of numbers (e.g. ["0", "1", "2", "12"]) is reordered in non-numeric order (e.g. ["0", "1", "12", "2"]).
Sample Code or Link to Sample Code
Example Output
The text was updated successfully, but these errors were encountered: