mirror of
https://github.com/sharkdp/bat
synced 2024-11-16 21:25:56 +00:00
Hide --squeeze-limit
from short help
This commit is contained in:
parent
1fbdbfc4b2
commit
f041ff8c5f
@ -45,8 +45,6 @@ Options:
|
||||
Display all supported highlighting themes.
|
||||
-s, --squeeze
|
||||
Squeeze consecutive empty lines.
|
||||
--squeeze-limit <squeeze-limit>
|
||||
The maximum number of consecutive empty lines.
|
||||
--style <components>
|
||||
Comma-separated list of style elements to display (*default*, auto, full, plain, changes,
|
||||
header, header-filename, header-filesize, grid, rule, numbers, snip).
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user