diff options
| author | Tim Northover <tnorthover@apple.com> | 2014-01-14 20:49:19 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2014-01-14 20:49:19 +0000 |
| commit | 9778348172d4784e94f9343733dc8b37999dd85f (patch) | |
| tree | 6ccad848ec58fb1687a2310ae1dca40a8dc3920b /clang | |
| parent | 2ea30fb9b0cd72038fc06e8793f37834345a6059 (diff) | |
| download | bcm5719-llvm-9778348172d4784e94f9343733dc8b37999dd85f.tar.gz bcm5719-llvm-9778348172d4784e94f9343733dc8b37999dd85f.zip | |
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.
llvm-svn: 199256
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/docs/tools/clang.pod | 2 | ||||
| -rw-r--r-- | clang/include/clang/Driver/Options.td | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/tools/clang.pod b/clang/docs/tools/clang.pod index 1f3a3ec0ac6..e9ec2a60471 100644 --- a/clang/docs/tools/clang.pod +++ b/clang/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/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td index 1c77df5d843..23036bf254a 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -198,7 +198,7 @@ def ccc_ : Joined<["-"], "ccc-">, Group<internal_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]>; |

