VMM/cli/subcommands: Use the `fqdn' argument placeholder also for v0.6.x
authorPascal Volk <user@localhost.localdomain.org>
Sun, 15 Apr 2012 15:56:01 +0000
branchv0.6.x
changeset 551 62f2daff853e
parent 550 867d950ce7b7
child 552 107f7a3be9f5
VMM/cli/subcommands: Use the `fqdn' argument placeholder also for catch-all subcommands.
VirtualMailManager/cli/subcommands.py
--- a/VirtualMailManager/cli/subcommands.py	Sun Apr 15 17:51:00 2012 +0200
+++ b/VirtualMailManager/cli/subcommands.py	Sun Apr 15 15:56:01 2012 +0000
@@ -782,14 +782,14 @@
                              'domain to an other domain')),
     # CatchallAlias commands
     'catchalladd': cmd('catchalladd', 'caa', catchall_add,
-                       'domain destination ...',
+                       'fqdn destination ...',
                        _(u'add one or more catch-all destinations for a '
                          u'domain')),
     'catchalldelete': cmd('catchalldelete', 'cad', catchall_delete,
-                       'domain [destination]',
+                       'fqdn [destination]',
                        _(u'delete the specified catch-all destination or all '
                          u'of a domain\'s destinations')),
-    'catchallinfo': cmd('catchallinfo', 'cai', catchall_info, 'domain',
+    'catchallinfo': cmd('catchallinfo', 'cai', catchall_info, 'fqdn',
                      _(u'show the catch-all destination(s) of the specified domain')),
     # Domain commands
     'domainadd': cmd('domainadd', 'da', domain_add, 'fqdn [transport]',