From: Mikhail Glushenkov Date: Wed, 14 Jan 2009 02:02:16 +0000 (+0000) Subject: Make -o a prefix option. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=15b064d045bfb084772603623f469666f6fb8bb3;p=oota-llvm.git Make -o a prefix option. Both 'llvmc -o file' and 'llvmc -ofile' should work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62211 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvmc/driver/llvmc.cpp b/tools/llvmc/driver/llvmc.cpp index b295c633d90..059e840eeb6 100644 --- a/tools/llvmc/driver/llvmc.cpp +++ b/tools/llvmc/driver/llvmc.cpp @@ -37,7 +37,7 @@ using namespace llvmc; cl::list InputFilenames(cl::Positional, cl::desc(""), cl::ZeroOrMore); cl::opt OutputFilename("o", cl::desc("Output file name"), - cl::value_desc("file")); + cl::value_desc("file"), cl::Prefix); cl::list Languages("x", cl::desc("Specify the language of the following input files"), cl::ZeroOrMore);