Skip to content

how to control OPTIONS listing ordering? #3593

Answered by jtmoon79
jtmoon79 asked this question in Q&A
Discussion options

You must be logged in to vote

Set the DeriveDisplayOrder.

#[clap(setting = clap::AppSettings::DeriveDisplayOrder)]
struct Args {
...

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@epage
Comment options

Answer selected by jtmoon79
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants