Add informations about --replace-touch parameter in README file and help message
This commit is contained in:
parent
e9b1f0f26f
commit
78538bc48b
2 changed files with 10 additions and 1 deletions
5
README
5
README
|
@ -20,6 +20,10 @@ value to an attribute of this object and remove it just after. The
|
|||
touched attribute is specify by parameter --touch. Of course, couple of
|
||||
DN and password provided, must have write right on this attribute.
|
||||
|
||||
If your prefer, you can use --replace-touch parameter to replace value
|
||||
of touched attribute instead of adding the touched value. Use-ful in
|
||||
case of single-value attribute.
|
||||
|
||||
To use this script as Nagios plugin, use -n argument
|
||||
|
||||
Requirement
|
||||
|
@ -66,6 +70,7 @@ Usage
|
|||
will be add to this attribute and remove after. The
|
||||
user use to connect to the LDAP directory must have
|
||||
write permission on this attribute on each object.
|
||||
--replace-touch In touch mode, replace value instead of adding.
|
||||
|
||||
|
||||
Copyright
|
||||
|
|
|
@ -20,6 +20,10 @@
|
|||
# touched attribute is specify by parameter --touch. Of course, couple of
|
||||
# DN and password provided, must have write right on this attribute.
|
||||
#
|
||||
# If your prefer, you can use --replace-touch parameter to replace value
|
||||
# of touched attribute instead of adding the touched value. Use-ful in
|
||||
# case of single-value attribute.
|
||||
#
|
||||
# This script could be use as Nagios plugin (-n argument)
|
||||
#
|
||||
# Requirement :
|
||||
|
@ -132,7 +136,7 @@ parser.add_option( "--touch",
|
|||
parser.add_option( "--replace-touch",
|
||||
dest="replacetouch",
|
||||
action="store_true",
|
||||
help="In touche mode, replace value instead of adding.",
|
||||
help="In touch mode, replace value instead of adding.",
|
||||
default=False)
|
||||
|
||||
(options, args) = parser.parse_args()
|
||||
|
|
Loading…
Reference in a new issue