From 15b064d045bfb084772603623f469666f6fb8bb3 Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Wed, 14 Jan 2009 02:02:16 +0000 Subject: [PATCH] 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 --- tools/llvmc/driver/llvmc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1