VMM/cli/subcommands: Corrected two usage strings.
domainnote's and usernote's note argument is optional.
--- 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]',