From 8fcc8bc8d50d266b050c136de7a441d59e363d1b Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Mon, 4 Feb 2013 07:15:54 -0500 Subject: 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 --- ipalib/cli.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipalib/cli.py') diff --git a/ipalib/cli.py b/ipalib/cli.py index 74c43b59..ca186c73 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 --help')) writer() class show_mappings(frontend.Command): -- cgit