From 36bfda80717c09929a15147814f6e5ceea4eb60b Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Feb 18 2013 18:09:40 +0000 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 --- diff --git a/ipalib/cli.py b/ipalib/cli.py index 74c43b5..ca186c7 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):