Add a help string for the -c option
authorMikhail Glushenkov <foldr@codedgers.com>
Tue, 6 May 2008 18:17:42 +0000 (18:17 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Tue, 6 May 2008 18:17:42 +0000 (18:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50764 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvmc2/Tools.td

index e803915da65c87fb2363136215ebd3749d5c1a34..4b57a503e546f9d95f5d6a93b93c28048ce914b8 100644 (file)
@@ -64,7 +64,8 @@ def llvm_gcc_assembler : Tool<
  (out_language "object-code"),
  (output_suffix "o"),
  (cmd_line "llvm-gcc -c -x assembler $INFILE -o $OUTFILE"),
- (switch_option "c", (stop_compilation)),
+ (switch_option "c", (stop_compilation),
+                (help "Compile and assemble, but do not link")),
  (prefix_list_option "Wa", (unpack_values), (help "pass options to assembler"))
 ]>;