diff --git a/src/app.rs b/src/app.rs index 7c3e0c3c..94dbfe2c 100644 --- a/src/app.rs +++ b/src/app.rs @@ -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 }, diff --git a/src/clap_app.rs b/src/clap_app.rs index 89b799f8..c3c8d97b 100644 --- a/src/clap_app.rs +++ b/src/clap_app.rs @@ -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*")