[Freeipa-devel] [PATCH] Generate additional positional arguments for baseldap commands from takes_args.

Adam Young ayoung at redhat.com
Tue Oct 5 18:48:18 UTC 2010


On 10/05/2010 10:43 AM, Pavel Zuna wrote:
> takes_args defined in a baseldap subclass is now transformed into 
> positional arguments that go after primary keys. Before this patch, 
> takes_args in crud subclasses were ignored.
>
> example:
>
> --- snip ---
>
> class user_something(LDAPRetrieve):
>     takes_args = (
>         Str('randomarg'),
>     )
>
> --- snip ---
>
> # ipa help something
> Usage: ipa [global-options] user-something LOGIN RANDOMARG
>
>
> Pavel
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
ACK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20101005/e333bf8d/attachment.htm>


More information about the Freeipa-devel mailing list