summaryrefslogtreecommitdiffstats
path: root/ipalib/cli.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-02-04 07:15:54 -0500
committerRob Crittenden <rcritten@redhat.com>2013-02-18 13:07:26 -0500
commit8fcc8bc8d50d266b050c136de7a441d59e363d1b (patch)
tree881f5ab6ca84751441aaebafb2ae68d39ffca366 /ipalib/cli.py
parent614082e6a6ba025583ce24a2cce94133997925d7 (diff)
downloadfreeipa-8fcc8bc8d50d266b050c136de7a441d59e363d1b.tar.gz
freeipa-8fcc8bc8d50d266b050c136de7a441d59e363d1b.tar.xz
freeipa-8fcc8bc8d50d266b050c136de7a441d59e363d1b.zip
In topic help text, mention how to get help for commands
This should prevent user confusion when topic help is requested unintentionally, for example with `ipa help ping`. See https://fedorahosted.org/freeipa/ticket/3247
Diffstat (limited to 'ipalib/cli.py')
-rw-r--r--ipalib/cli.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py
index 74c43b590..ca186c737 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -834,6 +834,9 @@ class help(frontend.Local):
for c in commands:
writer(
' %s %s' % (to_cli(c.name).ljust(mcl), c.summary))
+ writer()
+ writer(_('To get command help, use:'))
+ writer(_(' ipa <command> --help'))
writer()
class show_mappings(frontend.Command):