summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2024-11-15 22:51:48 -0800
committerWilfred Hughes <me@wilfred.me.uk>2024-11-15 22:51:48 -0800
commit430db0efc5fe93591363fc5a635c91f90d0d0f1f (patch)
tree0cd5c6a013b36c7d6fa6cfdaf23af92051a63f31
parent39e645832e1d78b4eda329a974e27652706e1745 (diff)
Update options parsing for new flag spelling
-rw-r--r--src/options.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.rs b/src/options.rs
index b3835e4474..fd1bfdf662 100644
--- a/src/options.rs
+++ b/src/options.rs
@@ -658,7 +658,7 @@ pub(crate) fn parse_args() -> Mode {
};
}
- if let Some(path) = matches.value_of("dump-syntax-dotty") {
+ if let Some(path) = matches.value_of("dump-syntax-dot") {
return Mode::DumpSyntaxDotty {
path: path.to_owned(),
ignore_comments,