mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-21 13:46:37 +00:00
Fix a small typo in the driver help message. (#2261)
The help message was using `_`s while the actual sub-commands use `-`. Co-authored-by: ergawy <kareem.ergawy@guardsquare.com>
This commit is contained in:
1 parent
8f0f69b65f
commit
dc43767b16
1 file changed
+2
-2
@@ -119,8 +119,8 @@ auto Driver::RunDumpSubcommand(DiagnosticConsumer& consumer,
|
||||
.Case("semantics-ir", DumpMode::SemanticsIR)
|
||||
.Default(DumpMode::Unknown);
|
||||
if (dump_mode == DumpMode::Unknown) {
|
||||
error_stream_ << "ERROR: Dump mode should be one of tokens, parse_tree, or "
|
||||
"semantics_ir.\n";
|
||||
error_stream_ << "ERROR: Dump mode should be one of tokens, parse-tree, or "
|
||||
"semantics-ir.\n";
|
||||
return false;
|
||||
}
|
||||
args = args.drop_front();
|
||||
|
||||
Reference in new issue
Block a user