summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipalib/cli.py5
-rw-r--r--ipalib/plugable.py2
2 files changed, 5 insertions, 2 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py
index ab2918b53..59abc3b15 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -664,7 +664,10 @@ class help(frontend.Local):
Display help for a command or topic.
"""
- takes_args = (Str('command?'),)
+ takes_args = (
+ Str('command?', cli_name='topic', label=_('Topic or Command'),
+ doc=_('The topic or command name.')),
+ )
takes_options = (
Any('outfile?', flags=['no_option']),
)
diff --git a/ipalib/plugable.py b/ipalib/plugable.py
index d2541e3b7..8f42c6304 100644
--- a/ipalib/plugable.py
+++ b/ipalib/plugable.py
@@ -531,7 +531,7 @@ class API(DictProxy):
'See "ipa help <TOPIC>" for more information on a '
'specific topic.',
'See "ipa help commands" for the full list of commands.',
- 'See "ipa help <COMMAND>" for more information on a '
+ 'See "ipa <COMMAND> --help" for more information on a '
'specific command.',
]))
parser.disable_interspersed_args()