diff options
author | einfachIrgendwer0815 <85333734+einfachIrgendwer0815@users.noreply.github.com> | 2024-02-24 13:57:44 +0100 |
---|---|---|
committer | einfachIrgendwer0815 <85333734+einfachIrgendwer0815@users.noreply.github.com> | 2024-02-24 13:57:44 +0100 |
commit | f041ff8c5f986e9e83a85615df86cbaf90ac79e0 (patch) | |
tree | 5cbb58503d40074228e01103829deb759fa6ca43 /src | |
parent | 1fbdbfc4b25b5e249d88b8405dbe98f3ea13972e (diff) |
Hide `--squeeze-limit` from short help
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/bat/clap_app.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/bat/clap_app.rs b/src/bin/bat/clap_app.rs index 0c28ce7d..cfb9d054 100644 --- a/src/bin/bat/clap_app.rs +++ b/src/bin/bat/clap_app.rs @@ -399,8 +399,8 @@ pub fn build_app(interactive_output: bool) -> Command { Arg::new("squeeze-limit") .long("squeeze-limit") .value_parser(|s: &str| s.parse::<usize>().map_err(|_| "Requires a non-negative number".to_owned())) - .help("The maximum number of consecutive empty lines.") .long_help("Set the maximum number of consecutive empty lines to be printed.") + .hide_short_help(true) ) .arg( Arg::new("style") |