fix documentation code

This commit is contained in:
Kevin Duret 2015-01-02 11:03:44 +01:00
parent df3eb6aae0
commit b95a5750c6
1 changed files with 1 additions and 0 deletions

View File

@ -411,6 +411,7 @@ You can check the version of plugins and modes with option ``--version``:
You can also use the option ``--mode-version`` to execute the mode only if there is the good version.
For example, we want to execute the mode only if the version >= 2.x:
::
$ perl centreon_plugins.pl --plugin=os::linux::snmp::plugin --mode=storage --hostname=127.0.0.1 --snmp-version=2c --snmp-community=public --verbose --mode-version='2.x'
UNKNOWN: Not good version for plugin mode. Excepted at least: 2.x. Get: 1.0