mirror of
https://github.com/sharkdp/bat
synced 2024-11-16 21:25:56 +00:00
Changed flag name
This commit is contained in:
parent
e90308e1f8
commit
1ece38a4c4
@ -260,7 +260,7 @@ impl App {
|
|||||||
output_components,
|
output_components,
|
||||||
syntax_mapping,
|
syntax_mapping,
|
||||||
pager: self.matches.value_of("pager"),
|
pager: self.matches.value_of("pager"),
|
||||||
italics: match self.matches.value_of("enable-italics") {
|
italics: match self.matches.value_of("italic-text") {
|
||||||
Some("always") => true,
|
Some("always") => true,
|
||||||
_ => false
|
_ => false
|
||||||
},
|
},
|
||||||
|
@ -321,8 +321,8 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
|
|||||||
.help("Show path to the configuration file."),
|
.help("Show path to the configuration file."),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("enable-italics")
|
Arg::with_name("italic-text")
|
||||||
.long("enable-italics")
|
.long("italic-text")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.multiple(false)
|
.multiple(false)
|
||||||
.value_name("always|*never*")
|
.value_name("always|*never*")
|
||||||
|
Loading…
Reference in New Issue
Block a user