mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 19:01:07 +01: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:
@@ -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