-
Hello, is it possible to make the built-in (I tried to search through method's docs, but keywords like order/last/help etc. are a bit too generic to narrow down on potential setting)
|
Beta Was this translation helpful? Give feedback.
Answered by
epage
May 5, 2022
Replies: 1 comment 2 replies
-
You have two routes for resolving this
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
RustyJoeM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have two routes for resolving this
#[clap(setting = clap::AppSettings::DeriveDisplayOrder)]
to yourParser
and all commands will be in the order you define them rather than sorted.help
will be lastHelp
command and set itsdisplay_order
. Since auto help hasn't been disabled, we will still apply the default help policy to this command, you are just overriding the UX of it