From b95a5750c6a183d80a0eb8e8abc95fe31ee4d27c Mon Sep 17 00:00:00 2001 From: Kevin Duret Date: Fri, 2 Jan 2015 11:03:44 +0100 Subject: [PATCH] fix documentation code --- docs/user/guide.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/user/guide.rst b/docs/user/guide.rst index 205c3b43b..a4240304f 100644 --- a/docs/user/guide.rst +++ b/docs/user/guide.rst @@ -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