summaryrefslogtreecommitdiffstats
path: root/ipalib/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/cli.py')
-rw-r--r--ipalib/cli.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py
index d19e397a0..44f9c813c 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -674,9 +674,10 @@ class help(frontend.Local):
print doc
print ''
- print 'Related commands:'
- for c in commands:
- print ' %s %s' % (to_cli(c.name).ljust(mcl), c.summary)
+ if len(commands) > 1:
+ print 'Topic commands:'
+ for c in commands:
+ print ' %s %s' % (to_cli(c.name).ljust(mcl), c.summary)
class console(frontend.Command):