[Freeipa-devel] [PATCH] 203 Add argument help to CLI

Martin Kosek mkosek at redhat.com
Fri Jan 27 15:56:56 UTC 2012


An example of the improved help:

# ipa help user-add
Purpose: Add a new user.
Usage: ipa [global-options] user-add LOGIN [options]

Positional arguments:
LOGIN: User login

Options:
  -h, --help         show this help message and exit
  --first=STR        First name
  --last=STR         Last name
  --cn=STR           Full name
...


We may want to improve help for most arguments we use. Most of them are
missing. In this patch I updated just the CRITERIA argument that was
complained about in the relevant BZ.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkosek-203-add-argument-help-to-cli.patch
Type: text/x-patch
Size: 4309 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120127/d3534bb6/attachment.bin>


More information about the Freeipa-devel mailing list