Improve the documentation of setattr/addattr
https://fedorahosted.org/freeipa/ticket/245
This commit is contained in:
1 parent
d9dd838014
commit
3682a1c385
1 file changed
+3
-2
@@ -283,12 +283,13 @@ class LDAPObject(Object):
|
||||
_attr_options = (
|
||||
Str('addattr*', validate_add_attribute,
|
||||
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',
|
||||
),
|
||||
Str('setattr*', validate_set_attribute,
|
||||
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',
|
||||
),
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user