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
This commit is contained in:
Petr Viktorin
2013-02-04 07:15:54 -05:00
committed by Rob Crittenden
parent 614082e6a6
commit 8fcc8bc8d5

View File

@@ -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):