cli: don't show bench/debug subcommands by default

This commit is contained in:
Waleed Khan 2022-04-30 12:41:13 -07:00 committed by Martin von Zweigbergk
parent 81a8cfefcb
commit 2b843d418b

View File

@ -1791,6 +1791,7 @@ struct GitExportArgs {}
/// Commands for benchmarking internal operations
#[derive(clap::Args, Clone, Debug)]
#[clap(hide = true)]
struct BenchArgs {
#[clap(subcommand)]
command: BenchCommands,
@ -1844,6 +1845,7 @@ struct DebugArgs {
}
#[derive(Subcommand, Clone, Debug)]
#[clap(hide = true)]
enum DebugCommands {
Completion(DebugCompletionArgs),
Mangen(DebugMangenArgs),