From fadfe1a213b4cf565678f1dfbde60b38de509293 Mon Sep 17 00:00:00 2001 From: Pascal Hertleif Date: Wed, 12 Feb 2025 11:04:54 +0100 Subject: [PATCH] fix(cli): Align docs phrasing and capitalization --- src/cli/args.rs | 10 +++++----- tests/snapshots/ui__ui_test_usage_help_flag-2.snap | 10 +++++----- tests/snapshots/ui__ui_test_usage_help_flag.snap | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/cli/args.rs b/src/cli/args.rs index 79cc47e..5aaf96b 100644 --- a/src/cli/args.rs +++ b/src/cli/args.rs @@ -25,15 +25,15 @@ pub struct CliArgs { #[arg(short = 'A', long, env = "ACCESSIBLE", global = true)] pub accessible: bool, - /// Ignores hidden files + /// Ignore hidden files #[arg(short = 'H', long, global = true)] pub hidden: bool, - /// Silences output + /// Silence output #[arg(short = 'q', long, global = true)] pub quiet: bool, - /// Ignores files matched by git's ignore files + /// Ignore files matched by git's ignore files #[arg(short = 'g', long, global = true)] pub gitignore: bool, @@ -41,11 +41,11 @@ pub struct CliArgs { #[arg(short, long, global = true)] pub format: Option, - /// decompress or list with password + /// Decompress or list with password #[arg(short = 'p', long = "password", global = true)] pub password: Option, - /// concurrent working threads + /// Concurrent working threads #[arg(short = 'c', long, global = true)] pub threads: Option, 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 66cc156..6e6818d 100644 --- a/tests/snapshots/ui__ui_test_usage_help_flag-2.snap +++ b/tests/snapshots/ui__ui_test_usage_help_flag-2.snap @@ -17,11 +17,11 @@ Options: -y, --yes Skip [Y/n] questions positively -n, --no Skip [Y/n] questions negatively -A, --accessible Activate accessibility mode, reducing visual noise [env: ACCESSIBLE=] - -H, --hidden Ignores hidden files - -q, --quiet Silences output - -g, --gitignore Ignores files matched by git's ignore files + -H, --hidden Ignore hidden files + -q, --quiet Silence output + -g, --gitignore Ignore files matched by git's ignore files -f, --format Specify the format of the archive - -p, --password decompress or list with password - -c, --threads concurrent working threads + -p, --password Decompress or list with password + -c, --threads Concurrent working threads -h, --help Print help (see more with '--help') -V, --version Print version diff --git a/tests/snapshots/ui__ui_test_usage_help_flag.snap b/tests/snapshots/ui__ui_test_usage_help_flag.snap index 370193d..dfab4dc 100644 --- a/tests/snapshots/ui__ui_test_usage_help_flag.snap +++ b/tests/snapshots/ui__ui_test_usage_help_flag.snap @@ -30,22 +30,22 @@ Options: [env: ACCESSIBLE=] -H, --hidden - Ignores hidden files + Ignore hidden files -q, --quiet - Silences output + Silence output -g, --gitignore - Ignores files matched by git's ignore files + Ignore files matched by git's ignore files -f, --format Specify the format of the archive -p, --password - decompress or list with password + Decompress or list with password -c, --threads - concurrent working threads + Concurrent working threads -h, --help Print help (see a summary with '-h')