VMM/cli/handler: Updated `skip_some_checks' conditions. v0.7.x
authorPascal Volk <user@localhost.localdomain.org>
Sat, 08 Feb 2014 18:33:25 +0000
branchv0.7.x
changeset 714 95252b15fffb
parent 713 74ee0a62039c
child 715 c6a33da1aa93
VMM/cli/handler: Updated `skip_some_checks' conditions.
VirtualMailManager/cli/handler.py
--- a/VirtualMailManager/cli/handler.py	Mon Feb 03 20:22:29 2014 +0000
+++ b/VirtualMailManager/cli/handler.py	Sat Feb 08 18:33:25 2014 +0000
@@ -40,8 +40,8 @@
         """
         # Overwrite the parent CTor partly, we use the CliConfig class
         # and add some command line checks.
-        skip_some_checks = os.sys.argv[1] in ('cf', 'configure', 'h', 'help',
-                                              'v', 'version')
+        skip_some_checks = os.sys.argv[1] in ('cf', 'configure',
+                                              'cs', 'configset')
         super(CliHandler, self).__init__(skip_some_checks)
 
         self._cfg = Cfg(self._cfg_fname)