Skip to content

Commit

Permalink
Add "Whether to" in the description of 'debug-info' switch (#4592)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
danakj authored Nov 26, 2024
1 parent a2af7ad commit 9c71151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolchain/driver/compile_subcommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9c71151

Please sign in to comment.