diff --git a/cccli/command/shell.py b/cccli/command/shell.py
index 4a56d02159ed90c611767023530f9bc092c98734..7fc55490ba4d4c08d58d6e93782a33723a115820 100644
--- a/cccli/command/shell.py
+++ b/cccli/command/shell.py
@@ -20,6 +20,8 @@ class Command_quit(Command):
 class Command_version(Command):
     '''Print cli version'''
     def __call__(self, argv):
+        if len(argv) != 1:
+            raise cmdBadArgument()
         import cccli
         self.printer.out(cccli.version)