mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-13 09:47:27 +02:00
Rename --squeeze
to --squeeze-blank
This commit is contained in:
@ -290,7 +290,7 @@ impl App {
|
||||
#[cfg(feature = "lessopen")]
|
||||
use_lessopen: self.matches.get_flag("lessopen"),
|
||||
set_terminal_title: self.matches.get_flag("set-terminal-title"),
|
||||
squeeze_lines: if self.matches.get_flag("squeeze") {
|
||||
squeeze_lines: if self.matches.get_flag("squeeze-blank") {
|
||||
Some(
|
||||
self.matches
|
||||
.get_one::<usize>("squeeze-limit")
|
||||
|
@ -388,8 +388,8 @@ pub fn build_app(interactive_output: bool) -> Command {
|
||||
.long_help("Display a list of supported themes for syntax highlighting."),
|
||||
)
|
||||
.arg(
|
||||
Arg::new("squeeze")
|
||||
.long("squeeze")
|
||||
Arg::new("squeeze-blank")
|
||||
.long("squeeze-blank")
|
||||
.short('s')
|
||||
.action(ArgAction::SetTrue)
|
||||
.help("Squeeze consecutive empty lines.")
|
||||
|
Reference in New Issue
Block a user