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,
|
||||
syntax_mapping,
|
||||
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,
|
||||
_ => false
|
||||
},
|
||||
|
@ -321,8 +321,8 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
|
||||
.help("Show path to the configuration file."),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("enable-italics")
|
||||
.long("enable-italics")
|
||||
Arg::with_name("italic-text")
|
||||
.long("italic-text")
|
||||
.takes_value(true)
|
||||
.multiple(false)
|
||||
.value_name("always|*never*")
|
||||
|
Loading…
Reference in New Issue
Block a user