Make -o a prefix option.

Both 'llvmc -o file' and 'llvmc -ofile' should work.

llvm-svn: 62211
This commit is contained in:
Mikhail Glushenkov 2009-01-14 02:02:16 +00:00
parent a06af2ba07
commit 66068b3baf
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ using namespace llvmc;
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::value_desc("file"), cl::Prefix);
cl::list<std::string> Languages("x",
cl::desc("Specify the language of the following input files"),
cl::ZeroOrMore);