summaryrefslogtreecommitdiffstats
path: root/pykolab/cli/cmd_remove_user_subscription.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/cli/cmd_remove_user_subscription.py')
-rw-r--r--pykolab/cli/cmd_remove_user_subscription.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/pykolab/cli/cmd_remove_user_subscription.py b/pykolab/cli/cmd_remove_user_subscription.py
index d6ca9e2..59975c8 100644
--- a/pykolab/cli/cmd_remove_user_subscription.py
+++ b/pykolab/cli/cmd_remove_user_subscription.py
@@ -31,7 +31,12 @@ log = pykolab.getLogger('pykolab.cli')
conf = pykolab.getConf()
def __init__():
- commands.register('remove_user_subscription', execute, description=description())
+ commands.register(
+ 'remove_user_subscription',
+ execute,
+ aliases=['rus', 'unsubscribe'],
+ description=description()
+ )
def description():
return _("Unsubscribe a user from a folder.")