From 3682a1c385f93d574af2db3f498ecc003eeb2133 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Mon, 15 Nov 2010 15:37:40 +0100 Subject: Improve the documentation of setattr/addattr https://fedorahosted.org/freeipa/ticket/245 --- ipalib/plugins/baseldap.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ipalib/plugins/baseldap.py') diff --git a/ipalib/plugins/baseldap.py b/ipalib/plugins/baseldap.py index 61fedd98..315deb09 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', ), ) -- cgit