Rename -t to --temp-dir.
authorMikhail Glushenkov <foldr@codedgers.com>
Thu, 9 Jul 2009 19:36:08 +0000 (19:36 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Thu, 9 Jul 2009 19:36:08 +0000 (19:36 +0000)
-t is already used by gcc in the meaning 'ld -t' (trace). The Base plugin may
 want to emulate this behaviour.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75162 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CompilerDriver/BuiltinOptions.cpp

index c4660e17a531f68f0c0cb027ea82b28c8d842895..d90c50d67d92eadff585b8f730aa49bda80129c2 100644 (file)
@@ -25,8 +25,8 @@ cl::list<std::string> InputFilenames(cl::Positional, cl::desc("<input file>"),
                                      cl::ZeroOrMore);
 cl::opt<std::string> OutputFilename("o", cl::desc("Output file name"),
                                     cl::value_desc("file"), cl::Prefix);
-cl::opt<std::string> TempDirname("t", cl::desc("Temp dir name"),
-                                    cl::value_desc("dir"), cl::Prefix);
+cl::opt<std::string> TempDirname("temp-dir", cl::desc("Temp dir name"),
+                                 cl::value_desc("<directory>"), cl::Prefix);
 cl::list<std::string> Languages("x",
           cl::desc("Specify the language of the following input files"),
           cl::ZeroOrMore);