diff options
-rw-r--r-- | src/rewrite.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rewrite.rs b/src/rewrite.rs index 38223ebd..e7c3b506 100644 --- a/src/rewrite.rs +++ b/src/rewrite.rs @@ -239,7 +239,7 @@ fn _rewrite_options_to_implement_deprecated_theme_option( arg_matches: Option<&clap::ArgMatches>, ) { if let Some(arg_matches) = arg_matches { - if user_supplied_option("theme", arg_matches) { + if user_supplied_option("deprecated-theme", arg_matches) { if let Some(syntax_theme) = opt.deprecated_theme.as_ref() { opt.syntax_theme = Some(syntax_theme.to_string()); } |