summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2024-11-15 22:54:58 -0800
committerWilfred Hughes <me@wilfred.me.uk>2024-11-15 22:54:58 -0800
commit956b09a63ede05b0ad0978f1aa58959407b1db43 (patch)
treeb4174f099e2dd1adafaec2ac54da13fd4b9aa8c1
parent430db0efc5fe93591363fc5a635c91f90d0d0f1f (diff)
Remove another mention of old flag name
-rw-r--r--src/main.rs2
-rw-r--r--src/options.rs4
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<glob::Pattern>)>,
},
- DumpSyntaxDotty {
+ DumpSyntaxDot {
path: String,
ignore_comments: bool,
language_overrides: Vec<(LanguageOverride, Vec<glob::Pattern>)>,
@@ -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,