VirtualMailManager/cli/main.py
branchv0.6.x
changeset 417 8209da83e256
parent 366 d6573da35b5f
child 420 d4a341248500
--- a/VirtualMailManager/cli/main.py	Thu Feb 24 01:02:24 2011 +0000
+++ b/VirtualMailManager/cli/main.py	Thu Feb 24 20:47:35 2011 +0000
@@ -36,7 +36,7 @@
 
 def run(argv):
     if len(argv) < 2:
-        usage(EX_MISSING_ARGS, _(u"You must specify a subcommand at least"))
+        usage(EX_MISSING_ARGS, _(u"You must specify a subcommand at least."))
 
     sub_cmd = argv[1].lower()
     if sub_cmd in cmd_map:
@@ -65,7 +65,8 @@
     except (BadOptionError, ConfigValueError), err:
         w_err(INVALID_ARGUMENT, _(u'Error: %s') % err)
     except NoSectionError, err:
-        w_err(INVALID_ARGUMENT, _(u"Error: No section '%s'") % err.section)
+        w_err(INVALID_ARGUMENT,
+              _(u"Error: Unknown section: '%s'") % err.section)
     except NoOptionError, err:
         w_err(INVALID_ARGUMENT,
               _(u"Error: No option '%(option)s' in section: '%(section)s'") %