TeXitoi / structopt

Parse command line arguments by defining a struct.
Other
2.7k stars 149 forks source link

How to allows custom ordering of args within the help message? #522

Closed jmzhoulab closed 2 years ago

TeXitoi commented 2 years ago

When you close an issue, please explain why. Particularly, if you found the solution yourself, better to give it for the people finding this issue.

The solution is https://docs.rs/clap/2.34.0/clap/enum.AppSettings.html#variant.DeriveDisplayOrder