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
This commit is contained in:
Tim Northover 2014-01-14 20:49:19 +00:00
parent 2ea30fb9b0
commit 9778348172
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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]>;