From 560d124da6cf882a9616d9f4b19df81e8cddbdec Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Tue, 14 Jan 2014 20:49:19 +0000 Subject: [PATCH] Driver: clarify help string for "-###" Someone recently wasted some time not realising that "-###" didn't actually execute the commands it printed, and suggested a documentation tweak. Having made the same mistake myself on at least one occasion, I sympathise. So here it is. Any kibitzing on an even better text welcome. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199256 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/tools/clang.pod | 2 +- include/clang/Driver/Options.td | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tools/clang.pod b/docs/tools/clang.pod index 1f3a3ec0ac..e9ec2a6047 100644 --- a/docs/tools/clang.pod +++ b/docs/tools/clang.pod @@ -380,7 +380,7 @@ to the linker depending on the stage selection options). =item B<-###> -Print the commands to run for this compilation. +Print (but do not run) the commands to run for this compilation. =item B<--help> diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index 1c77df5d84..23036bf254 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -198,7 +198,7 @@ def ccc_ : Joined<["-"], "ccc-">, Group, Flags<[Unsupported]>; // Standard Options def _HASH_HASH_HASH : Flag<["-"], "###">, Flags<[DriverOption, CoreOption]>, - HelpText<"Print the commands to run for this compilation">; + HelpText<"Print (but do not run) the commands to run for this compilation">; def _DASH_DASH : Option<["--"], "", KIND_REMAINING_ARGS>, Flags<[DriverOption, CoreOption]>; def A : JoinedOrSeparate<["-"], "A">, Flags<[RenderJoined]>; -- 2.40.0