From 9c71151e340ea8ee25ffc926eb0f3689ce47b32f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 26 Nov 2024 12:39:09 -0500 Subject: [PATCH] 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. --- toolchain/driver/compile_subcommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/driver/compile_subcommand.cpp b/toolchain/driver/compile_subcommand.cpp index 45603c779d0f6..b8b054a8e5aaa 100644 --- a/toolchain/driver/compile_subcommand.cpp +++ b/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) {