#1078 improve ipa group-add behaviour
Closed: Invalid None Opened 14 years ago by obriend.

The current usage message for ipa group-add reads:

Usage: ipa [global-options] group-add GROUP-NAME [options]

which should allow this:

ipa group-add docadmins

but it returns a usage error demanding a description. If you omit the description, the CLI doesn't prompt for it, it just returns an error. If you include it, it works fine. So, --desc is
not really an option. Hence,

Usage: ipa [global-options] group-add GROUP-NAME --desc=STR [options]

might be more accurate, or having the CLI prompt for required information.


I wasn't able to reproduce this with 2.0 - ipa group-add prompts for the description as expected when it's omitted.

I've just tested again on the latest update of ipa and it prompts for a description, as expected, so I guess the dragons have left the building.

Metadata Update from @obriend:
- Issue assigned to jcholast
- Issue set to the milestone: FreeIPA 2.1 - 2011/08 (Final)

8 years ago

Log in to comment on this ticket.

Metadata