Snudde et ulikhetstegn.
This commit is contained in:
parent
76fcb16adf
commit
bc1ba7e631
|
@ -112,7 +112,7 @@ def check_command_args(args, command):
|
|||
if len(args) < min_num_args:
|
||||
raise BadCommandLine('Too few arguments for command %s (expects at least %d, %d given).'
|
||||
% (command, min_num_args, len(args)))
|
||||
if (not unlimited) and (len(args) < max_num_args):
|
||||
if (not unlimited) and (len(args) > max_num_args):
|
||||
raise BadCommandLine('Too many arguments for command %s (expects at most %d, %d given).'
|
||||
% (command, max_num_args, len(args)))
|
||||
|
||||
|
|
Reference in New Issue