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
This commit is contained in:
Jan Zeleny
2011-01-21 10:26:37 -05:00
committed by Rob Crittenden
parent fc28fae03f
commit 6d01bf037d

View File

@@ -970,6 +970,7 @@ class cli(backend.Executioner):
yield name
else:
yield '[%s]' % name
yield '[options]'
def prompt_interactively(self, cmd, kw):
"""