From d93929779c15349927f84d952bd1789426e80bae Mon Sep 17 00:00:00 2001 From: Pavel Rochnyack Date: Wed, 24 Feb 2016 22:38:30 +0700 Subject: [PATCH] curl_xml: Changed documentation to match proposed changes. --- src/collectd.conf.pod | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 44ecd361..05e205f0 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -1931,6 +1931,11 @@ host name setting. Use I as the plugin instance when submitting values. Defaults to an empty string (no plugin instance). +=item B I + +Use I as the plugin name when submitting values. +Defaults to 'curl_xml'. + =item B I I If an XPath expression references namespaces, they must be specified @@ -2000,9 +2005,19 @@ Specifies a XPath expression to use for determining the I. The XPath expression must return exactly one element. The element's value is then used as I, possibly prefixed with I (see above). -This value is required. As a special exception, if the "base XPath expression" -(the argument to the B block) returns exactly one argument, then this -option may be omitted. +=item B I + +Specifies a XPath expression to use for determining the I. The +XPath expression must return exactly one element. The element's value is then +used as I. + +=back + +If the "base XPath expression" (the argument to the B block) returns +exactly one argument, then I and I may be omitted. +Otherwise, at least one of I or I is required. + +=over 4 =item B I [I ...] -- 2.11.0