Partially revert "Make -pp override --paging and vice versa when passed as a later argument. (#2660)"

This partially reverts commit e2bf85e749.
This commit is contained in:
einfachIrgendwer0815 2023-10-21 21:58:57 +02:00
parent eca6b8a376
commit fd6c7637e4
No known key found for this signature in database
GPG Key ID: 58D55E5F117DA873

View File

@ -81,7 +81,6 @@ pub fn build_app(interactive_output: bool) -> Command {
Arg::new("plain") Arg::new("plain")
.overrides_with("plain") .overrides_with("plain")
.overrides_with("number") .overrides_with("number")
.overrides_with("paging")
.short('p') .short('p')
.long("plain") .long("plain")
.action(ArgAction::Count) .action(ArgAction::Count)
@ -306,7 +305,6 @@ pub fn build_app(interactive_output: bool) -> Command {
.long("paging") .long("paging")
.overrides_with("paging") .overrides_with("paging")
.overrides_with("no-paging") .overrides_with("no-paging")
.overrides_with("plain")
.value_name("when") .value_name("when")
.value_parser(["auto", "never", "always"]) .value_parser(["auto", "never", "always"])
.default_value("auto") .default_value("auto")