diff --git a/src/cli/args.rs b/src/cli/args.rs index 5aaf96b..22b8372 100644 --- a/src/cli/args.rs +++ b/src/cli/args.rs @@ -13,11 +13,11 @@ use clap::{Parser, ValueHint}; // Disable rustdoc::bare_urls because rustdoc parses URLs differently than Clap #[allow(rustdoc::bare_urls)] pub struct CliArgs { - /// Skip [Y/n] questions positively + /// Skip [Y/n] questions, default to yes #[arg(short, long, conflicts_with = "no", global = true)] pub yes: bool, - /// Skip [Y/n] questions negatively + /// Skip [Y/n] questions, default to no #[arg(short, long, global = true)] pub no: bool, diff --git a/tests/snapshots/ui__ui_test_usage_help_flag-2.snap b/tests/snapshots/ui__ui_test_usage_help_flag-2.snap index 6e6818d..75a873e 100644 --- a/tests/snapshots/ui__ui_test_usage_help_flag-2.snap +++ b/tests/snapshots/ui__ui_test_usage_help_flag-2.snap @@ -14,8 +14,8 @@ Commands: help Print this message or the help of the given subcommand(s) Options: - -y, --yes Skip [Y/n] questions positively - -n, --no Skip [Y/n] questions negatively + -y, --yes Skip [Y/n] questions, default to yes + -n, --no Skip [Y/n] questions, default to no -A, --accessible Activate accessibility mode, reducing visual noise [env: ACCESSIBLE=] -H, --hidden Ignore hidden files -q, --quiet Silence output diff --git a/tests/snapshots/ui__ui_test_usage_help_flag.snap b/tests/snapshots/ui__ui_test_usage_help_flag.snap index dfab4dc..e807565 100644 --- a/tests/snapshots/ui__ui_test_usage_help_flag.snap +++ b/tests/snapshots/ui__ui_test_usage_help_flag.snap @@ -19,10 +19,10 @@ Commands: Options: -y, --yes - Skip [Y/n] questions positively + Skip [Y/n] questions, default to yes -n, --no - Skip [Y/n] questions negatively + Skip [Y/n] questions, default to no -A, --accessible Activate accessibility mode, reducing visual noise