Improve the documentation of setattr/addattr

https://fedorahosted.org/freeipa/ticket/245
This commit is contained in:
Jakub Hrozek authored and Rob Crittenden committed 2010-11-19 13:54:27 -05:00
1 parent d9dd838014
commit 3682a1c385
1 file changed
+3 -2
+3 -2
View File
@@ -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',
),
)