Usage help has wrong order of options and commands #303
Labels
bug
good first issue
This seems like a good issue if you're a new contributor.
help wanted
We would be willing to take a well-written PR to help fix this.
Milestone
Describe the bug
Generated usage help is e.g.
Usage: mytool [options] [command]
instead of:
Usage: mytool [command] [options]
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should show "Usage: mytool [command] [options]"
Since having any options in front of the command verb fails.
Additional context
Repro code:
As a workaround I currently have a specialized DefaultHelpTextGenerator with overridden GenerateUsage().
The text was updated successfully, but these errors were encountered: