From 138f36f562068239d1f672a3f8d15cfeece2de5f Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Sun, 19 Jun 2022 11:32:04 -0400 Subject: [PATCH] move help text --- src/cli.rs | 2 +- src/main.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index ceb46f0..4bcf2a2 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -74,7 +74,7 @@ impl FromStr for Verbosity { #[derive(Debug, Clone, Parser)] #[clap(about="Debug stuff, not useful for most users.")] pub(crate) struct ArgsDebug { - #[clap(long)] + #[clap(long, help = "Show an example confirmation menu using dummy data.")] pub demo_conf_menu: bool } diff --git a/src/main.rs b/src/main.rs index 09ec4c7..48f136a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -120,7 +120,6 @@ fn cli() -> App<'static> { App::new("debug") .arg( Arg::with_name("demo-conf-menu") - .help("Show an example confirmation menu using dummy data.") .takes_value(false) ) )