Просмотр исходного кода

Add "Whether to" in the description of 'debug-info' switch (#4592)

The switch defaults to true, so it's displayed as `--no-debug-info` in
the help. The description should be agnostic about whether the flag will
enable or disable the behaviour.
Dana Jansens 1 год назад
Родитель
Сommit
9c71151e34
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      toolchain/driver/compile_subcommand.cpp

+ 1 - 1
toolchain/driver/compile_subcommand.cpp

@@ -270,7 +270,7 @@ Excludes files with the given prefix from dumps.
       {
           .name = "debug-info",
           .help = R"""(
-Emit DWARF debug information.
+Whether to emit DWARF debug information.
 )""",
       },
       [&](auto& arg_b) {