]> granicus.if.org Git - clang/commitdiff
[Options] Fix two options I mistransformed.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Tue, 23 Oct 2012 01:25:21 +0000 (01:25 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Tue, 23 Oct 2012 01:25:21 +0000 (01:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166458 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/CC1AsOptions.td

index 858deb14a7e7e3c0327779f2cc070c83fbdaa129..9fd855a9ce9fbb1a13071e95a3b745adc608207f 100644 (file)
@@ -48,7 +48,7 @@ def o : Separate<["-"], "o">, MetaVarName<"<path>">,
 def filetype : Separate<["-"], "filetype">,
     HelpText<"Specify the output file type ('asm', 'null', or 'obj')">;
 
-def help : Flag<["-", "--"], "-help">,
+def help : Flag<["-", "--"], "help">,
   HelpText<"Print this help text">;
 
 def version : Flag<["-", "--"], "version">,
@@ -78,7 +78,7 @@ def show_inst : Flag<["-"], "show-inst">,
 def relax_all : Flag<["-"], "relax-all">,
     HelpText<"Relax all fixups (for performance testing)">;
 
-def no_exec_stack : Flag<["-"], "-noexecstack">,
+def no_exec_stack : Flag<["--"], "noexecstack">,
     HelpText<"Mark the file as not needing an executable stack">;
 
 def fatal_warnings : Flag<["--"], "fatal-warnings">,