mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-29 10:21:18 -06:00
Improve the documentation of setattr/addattr
https://fedorahosted.org/freeipa/ticket/245
This commit is contained in:
parent
d9dd838014
commit
3682a1c385
@ -283,12 +283,13 @@ class LDAPObject(Object):
|
|||||||
_attr_options = (
|
_attr_options = (
|
||||||
Str('addattr*', validate_add_attribute,
|
Str('addattr*', validate_add_attribute,
|
||||||
cli_name='addattr',
|
cli_name='addattr',
|
||||||
doc=_('Add an attribute/value pair. Format is attr=value'),
|
doc=_('Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.'),
|
||||||
exclude='webui',
|
exclude='webui',
|
||||||
),
|
),
|
||||||
Str('setattr*', validate_set_attribute,
|
Str('setattr*', validate_set_attribute,
|
||||||
cli_name='setattr',
|
cli_name='setattr',
|
||||||
doc=_('Set an attribute to an name/value pair. Format is attr=value'),
|
doc=_("""Set an attribute to an name/value pair. Format is attr=value.
|
||||||
|
For multivalued attributes, the command replaces the values already present."""),
|
||||||
exclude='webui',
|
exclude='webui',
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user