summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2011-01-21 10:26:37 -0500
committerRob Crittenden <rcritten@redhat.com>2011-01-21 10:56:03 -0500
commit6d01bf037d7f6a4ec66d3b8b42229efa62dda6c1 (patch)
treeff61e9dded5161c9b8d5db3c5b09c15739550ae4
parentfc28fae03fd1510d571a5011ef9d712c7778e578 (diff)
downloadfreeipa-6d01bf037d7f6a4ec66d3b8b42229efa62dda6c1.tar.gz
freeipa-6d01bf037d7f6a4ec66d3b8b42229efa62dda6c1.tar.xz
freeipa-6d01bf037d7f6a4ec66d3b8b42229efa62dda6c1.zip
Make command syntax less confusing in help
The patch adds [options] to the syntax line of ipa help <command> https://fedorahosted.org/freeipa/ticket/733
-rw-r--r--ipalib/cli.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py
index c634d4909..dfc577c39 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -970,6 +970,7 @@ class cli(backend.Executioner):
yield name
else:
yield '[%s]' % name
+ yield '[options]'
def prompt_interactively(self, cmd, kw):
"""