summaryrefslogtreecommitdiffstats
path: root/ipalib/cli.py
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2012-02-03 09:38:16 +0100
committerMartin Kosek <mkosek@redhat.com>2012-02-03 16:39:35 +0100
commitd1cfe47b6c9858c609ac86edd7426bbe64dc03ec (patch)
tree313f71bfb45975e398f1682458881f3e7e71c7ff /ipalib/cli.py
parent1abed1e4e9a520be36dd1885190f6a3b4c1d96c3 (diff)
downloadfreeipa.git-d1cfe47b6c9858c609ac86edd7426bbe64dc03ec.tar.gz
freeipa.git-d1cfe47b6c9858c609ac86edd7426bbe64dc03ec.tar.xz
freeipa.git-d1cfe47b6c9858c609ac86edd7426bbe64dc03ec.zip
Improve migration help
Improve migration help topic so that it easier understandable: - Add missing list of Topic commands - Add one more example to demonstrate migration abilities - Add breaks to too long lines to improve readibility https://fedorahosted.org/freeipa/ticket/2174
Diffstat (limited to 'ipalib/cli.py')
-rw-r--r--ipalib/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py
index 667a7cdc..ad835f29 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -818,7 +818,7 @@ class help(frontend.Local):
raise HelpError(topic=topic)
print doc
- if len(commands) > 1:
+ if commands:
print ''
print unicode(_('Topic commands:'))
for c in commands: