1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-02 03:12:25 +01:00

Hide --squeeze-limit from short help

This commit is contained in:
einfachIrgendwer0815
2024-02-24 13:57:44 +01:00
parent 1fbdbfc4b2
commit f041ff8c5f
2 changed files with 1 additions and 3 deletions

View File

@@ -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")