diff options
| -rw-r--r-- | src/core_modules/command_spec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_modules/command_spec.py b/src/core_modules/command_spec.py index 340f6fee..da3691c6 100644 --- a/src/core_modules/command_spec.py +++ b/src/core_modules/command_spec.py @@ -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: |
