aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/ui/command_line.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-15 01:52:17 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-15 01:52:17 -0500
commita1bd5432ffbf28bf2fadfed8a5b2db917f243344 (patch)
tree414f4582b5549a52262155f87a0db44f96b81380 /libbe/ui/command_line.py
parent66343859b94ab7417bd4560ccc1c023d9ba6d1d2 (diff)
downloadbugseverywhere-a1bd5432ffbf28bf2fadfed8a5b2db917f243344.tar.gz
Transitioned tag to Command-format
Diffstat (limited to 'libbe/ui/command_line.py')
-rwxr-xr-xlibbe/ui/command_line.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/ui/command_line.py b/libbe/ui/command_line.py
index bb38be8..2dff930 100755
--- a/libbe/ui/command_line.py
+++ b/libbe/ui/command_line.py
@@ -122,7 +122,7 @@ class CmdOptionParser(optparse.OptionParser):
fragment = args[i+1]
self.complete(argument, fragment)
if len(parsed_args) > len(self.command.args) \
- and self.command.args[-1] == False:
+ and self.command.args[-1].repeatable == False:
raise libbe.command.UserError('Too many arguments')
for arg in self.command.args[len(parsed_args):]:
if arg.optional == False: