only show "not enough arguments" n>len(args)
This commit is contained in:
parent
b83e066dad
commit
c3bb46ad23
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class Module(ModuleManager.BaseModule):
|
|||
value = [argument_type.type, value]
|
||||
found = value
|
||||
break
|
||||
elif not error and n > 0:
|
||||
elif not error and n > len(args):
|
||||
error = "Not enough arguments"
|
||||
|
||||
if error and not first_error:
|
||||
|
|
Loading…
Reference in a new issue