mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-24 16:53:55 +01: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.
|
Display all supported highlighting themes.
|
||||||
-s, --squeeze
|
-s, --squeeze
|
||||||
Squeeze consecutive empty lines.
|
Squeeze consecutive empty lines.
|
||||||
--squeeze-limit <squeeze-limit>
|
|
||||||
The maximum number of consecutive empty lines.
|
|
||||||
--style <components>
|
--style <components>
|
||||||
Comma-separated list of style elements to display (*default*, auto, full, plain, changes,
|
Comma-separated list of style elements to display (*default*, auto, full, plain, changes,
|
||||||
header, header-filename, header-filesize, grid, rule, numbers, snip).
|
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")
|
Arg::new("squeeze-limit")
|
||||||
.long("squeeze-limit")
|
.long("squeeze-limit")
|
||||||
.value_parser(|s: &str| s.parse::<usize>().map_err(|_| "Requires a non-negative number".to_owned()))
|
.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.")
|
.long_help("Set the maximum number of consecutive empty lines to be printed.")
|
||||||
|
.hide_short_help(true)
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("style")
|
Arg::new("style")
|
||||||
|
Loading…
Reference in New Issue
Block a user