diff options
Diffstat (limited to 'ipalib/crud.py')
-rw-r--r-- | ipalib/crud.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/crud.py b/ipalib/crud.py index 77c97f3f4..fa8b9ad08 100644 --- a/ipalib/crud.py +++ b/ipalib/crud.py @@ -76,7 +76,7 @@ us: >>> list(api.Command.user_add.args) ['login'] >>> list(api.Command.user_add.options) -['first', 'last'] +['first', 'last', 'all', 'raw'] Notice that ``'ipauniqueid'`` isn't included in the options for our ``user_add`` plugin. This is because of the ``'no_create'`` flag we used when defining the @@ -94,7 +94,7 @@ class created them for us: >>> list(api.Command.user_show.args) ['login'] >>> list(api.Command.user_show.options) -[] +['all', 'raw'] As you can see, `Retrieve` plugins take a single argument (the primary key) and no options. If needed, you can still specify options for your `Retrieve` plugin |