summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-11-10 16:23:32 +0000
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-11-10 16:23:32 +0000
commit2352c500125ec777308aff554541efc311245bfb (patch)
treeedefe899a8ed793f6e6deb9da0b9bdfad2fc1293 /pykolab
parent65f4b091251cbdcd351180fba96f9dc04c0ec9d3 (diff)
downloadpykolab-2352c500125ec777308aff554541efc311245bfb.tar.gz
Fix names of commands referred to in the description of alias commands.
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/cli/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/cli/commands.py b/pykolab/cli/commands.py
index 6dedc6c..21c2bb4 100644
--- a/pykolab/cli/commands.py
+++ b/pykolab/cli/commands.py
@@ -187,7 +187,7 @@ def register(cmd_name, func, group=None, description=None, aliases=[]):
commands[alias] = {
'cmd_name': cmd_name,
'function': func,
- 'description': _("Alias for %s") % (cmd_name)
+ 'description': _("Alias for %s") % (cmd_name,replace('_','-'))
}
##