[LNT] r198458 - Make the verbose argument not consume other tokens from the input args.
Chris Matthews
cmatthews5 at apple.com
Fri Jan 3 15:03:25 PST 2014
Author: cmatthews
Date: Fri Jan 3 17:03:25 2014
New Revision: 198458
URL: http://llvm.org/viewvc/llvm-project?rev=198458&view=rev
Log:
Make the verbose argument not consume other tokens from the input args.
Modified:
lnt/trunk/lnt/lnttool/main.py
Modified: lnt/trunk/lnt/lnttool/main.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/lnttool/main.py?rev=198458&r1=198457&r2=198458&view=diff
==============================================================================
--- lnt/trunk/lnt/lnttool/main.py (original)
+++ lnt/trunk/lnt/lnttool/main.py Fri Jan 3 17:03:25 2014
@@ -129,7 +129,7 @@ def action_runtest(name, args):
parser.add_option("", "--submit", dest="submit", type=str, default=None)
parser.add_option("", "--commit", dest="commit", type=str, default=None)
parser.add_option("", "--output", dest="output", type=str, default=None)
- parser.add_option("-v", "--verbose", dest="verbose", default=None)
+ parser.add_option("-v", "--verbose", dest="verbose", action="store_true")
(deprecated_opts, args) = parser.parse_args(args)
if len(args) < 1:
More information about the llvm-commits
mailing list