mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
Add -pp for plain styling and no pager
This commit is contained in:
1 parent
bb6594e691
commit
fde00eec98
2 files changed
+7
-3
No files matched your search
+3
-2
@@ -143,10 +143,11 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
|
||||
.overrides_with("number")
|
||||
.short("p")
|
||||
.long("plain")
|
||||
.multiple(true)
|
||||
.help("Show plain style (alias for '--style=plain').")
|
||||
.long_help(
|
||||
"Only show plain style, no decorations. This is an alias for \
|
||||
'--style=plain'",
|
||||
"Only show plain style, no decorations. When '-p' is used, this is an alias for \
|
||||
'--style=plain'. When '-pp' is used, this is an alias for '--style=plain --pager=never'.",
|
||||
),
|
||||
)
|
||||
.arg(
|
||||
|
||||
Reference in new issue
Block a user