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:27 +0100
commitb2239d533d673ea6a92c274c4ab1964bc510184f (patch)
tree9a81061e29ffb95e248666d9e484f2000ae9689b /ipalib/cli.py
parentde9a0df508c8749294d177a45f7a27a4a8ada0d4 (diff)
downloadfreeipa-b2239d533d673ea6a92c274c4ab1964bc510184f.tar.gz
freeipa-b2239d533d673ea6a92c274c4ab1964bc510184f.tar.xz
freeipa-b2239d533d673ea6a92c274c4ab1964bc510184f.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: