From 956b09a63ede05b0ad0978f1aa58959407b1db43 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Fri, 15 Nov 2024 22:54:58 -0800 Subject: [PATCH] Remove another mention of old flag name --- src/main.rs | 2 +- src/options.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index f60ea272c4..dccdc7dcd8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -161,7 +161,7 @@ fn main() { } } } - Mode::DumpSyntaxDotty { + Mode::DumpSyntaxDot { path, ignore_comments, language_overrides, diff --git a/src/options.rs b/src/options.rs index fd1bfdf662..bd26e72b57 100644 --- a/src/options.rs +++ b/src/options.rs @@ -494,7 +494,7 @@ pub(crate) enum Mode { ignore_comments: bool, language_overrides: Vec<(LanguageOverride, Vec)>, }, - DumpSyntaxDotty { + DumpSyntaxDot { path: String, ignore_comments: bool, language_overrides: Vec<(LanguageOverride, Vec)>, @@ -659,7 +659,7 @@ pub(crate) fn parse_args() -> Mode { } if let Some(path) = matches.value_of("dump-syntax-dot") { - return Mode::DumpSyntaxDotty { + return Mode::DumpSyntaxDot { path: path.to_owned(), ignore_comments, language_overrides,