diff options
Diffstat (limited to 'ipalib')
-rw-r--r-- | ipalib/cli.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py index 898f385b..f7b19801 100644 --- a/ipalib/cli.py +++ b/ipalib/cli.py @@ -61,7 +61,10 @@ class CLI(object): def print_commands(self): for cmd in self.api.cmd: - print to_cli(cmd.name) + print ' %s %s' % ( + to_cli(cmd.name).ljust(self.mcl), + cmd.get_doc(_), + ) def __contains__(self, key): assert self.__d is not None, 'you must call finalize() first' |