VMM/cli/subcommands: Corrected two usage strings.
authorPascal Volk <user@localhost.localdomain.org>
Sun, 02 Sep 2012 15:24:41 +0000
changeset 602 af88f01e5bfa
parent 601 463b10c258d9
child 603 981f02b2d4c5
VMM/cli/subcommands: Corrected two usage strings. domainnote's and usernote's note argument is optional.
VirtualMailManager/cli/subcommands.py
--- a/VirtualMailManager/cli/subcommands.py	Sat Sep 01 23:02:01 2012 +0000
+++ b/VirtualMailManager/cli/subcommands.py	Sun Sep 02 15:24:41 2012 +0000
@@ -790,8 +790,7 @@
     'usertransport': cmd('usertransport', 'ut', user_transport,
                          'address transport | address domain',
                          _(u'update the transport of the given address')),
-    'usernote': cmd('usernote', 'uo', user_note,
-                    'address note',
+    'usernote': cmd('usernote', 'uo', user_note, 'address [note]',
                     _(u'update the note of the given address')),
     # Alias commands
     'aliasadd': cmd('aliasadd', 'aa', alias_add, 'address destination ...',
@@ -842,8 +841,7 @@
     'domaintransport': cmd('domaintransport', 'dt', domain_transport,
                            'fqdn transport [force]',
                            _(u'update the transport of the specified domain')),
-    'domainnote': cmd('domainnote', 'do', domain_note,
-                      'fqdn note',
+    'domainnote': cmd('domainnote', 'do', domain_note, 'fqdn [note]',
                       _(u'update the note of the given domain')),
     # List commands
     'listdomains': cmd('listdomains', 'ld', list_domains, '[pattern]',