diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2010-11-15 15:37:40 +0100 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-11-19 13:54:27 -0500 |
commit | 3682a1c385f93d574af2db3f498ecc003eeb2133 (patch) | |
tree | aae3cae0a2bcdd42b32911d88be9fbbe64a231bc /ipalib/plugins/baseldap.py | |
parent | d9dd838014b49932a569dc2e8f9d8942637d2590 (diff) | |
download | freeipa-3682a1c385f93d574af2db3f498ecc003eeb2133.tar.gz freeipa-3682a1c385f93d574af2db3f498ecc003eeb2133.tar.xz freeipa-3682a1c385f93d574af2db3f498ecc003eeb2133.zip |
Improve the documentation of setattr/addattr
https://fedorahosted.org/freeipa/ticket/245
Diffstat (limited to 'ipalib/plugins/baseldap.py')
-rw-r--r-- | ipalib/plugins/baseldap.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ipalib/plugins/baseldap.py b/ipalib/plugins/baseldap.py index 61fedd98a..315deb09d 100644 --- a/ipalib/plugins/baseldap.py +++ b/ipalib/plugins/baseldap.py @@ -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', ), ) |