Skip to content

Commit

Permalink
Partially revert "Make -pp override --paging and vice versa when pass…
Browse files Browse the repository at this point in the history
…ed as a later argument. (sharkdp#2660)"

This partially reverts commit e2bf85e.
  • Loading branch information
einfachIrgendwer0815 committed Oct 18, 2024
1 parent eca6b8a commit fd6c763
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/bin/bat/clap_app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ pub fn build_app(interactive_output: bool) -> Command {
Arg::new("plain")
.overrides_with("plain")
.overrides_with("number")
.overrides_with("paging")
.short('p')
.long("plain")
.action(ArgAction::Count)
Expand Down Expand Up @@ -306,7 +305,6 @@ pub fn build_app(interactive_output: bool) -> Command {
.long("paging")
.overrides_with("paging")
.overrides_with("no-paging")
.overrides_with("plain")
.value_name("when")
.value_parser(["auto", "never", "always"])
.default_value("auto")
Expand Down

0 comments on commit fd6c763

Please sign in to comment.