summaryrefslogtreecommitdiffstats
path: root/pykolab/cli/cmd_add_user_subscription.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/cli/cmd_add_user_subscription.py')
-rw-r--r--pykolab/cli/cmd_add_user_subscription.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/pykolab/cli/cmd_add_user_subscription.py b/pykolab/cli/cmd_add_user_subscription.py
index 2b463e2..d8a8901 100644
--- a/pykolab/cli/cmd_add_user_subscription.py
+++ b/pykolab/cli/cmd_add_user_subscription.py
@@ -31,7 +31,12 @@ log = pykolab.getLogger('pykolab.cli')
conf = pykolab.getConf()
def __init__():
- commands.register('add_user_subscription', execute, description=description())
+ commands.register(
+ 'add_user_subscription',
+ execute,
+ aliases=['aus', 'subscribe'],
+ description=description()
+ )
def description():
return _("Subscribe a user to a folder.")