summaryrefslogtreecommitdiffstats
path: root/plugins/negate.c
diff options
context:
space:
mode:
authorEunice Remoquillo <eremoquillo@itrsgroup.com>2024-02-12 02:59:18 (GMT)
committerEunice Remoquillo <eremoquillo@itrsgroup.com>2024-02-12 02:59:18 (GMT)
commitd2df0464812e7ccc4381eb8ea41d94194fc36805 (patch)
treedd2c8232c7058b1da13925422f1e45f15acf22db /plugins/negate.c
parent0445456e8bf086a61fee281e73099b761963c46f (diff)
downloadmonitoring-plugins-d2df0464812e7ccc4381eb8ea41d94194fc36805.tar.gz
Improve negate plugin helptext
This commit updates the negate plugin's helptext as it is currently ambiguous.
Diffstat (limited to 'plugins/negate.c')
-rw-r--r--plugins/negate.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/negate.c b/plugins/negate.c
index 745c12a..15a38c1 100644
--- a/plugins/negate.c
+++ b/plugins/negate.c
@@ -220,8 +220,10 @@ print_help (void)
220 220
221 printf (COPYRIGHT, copyright, email); 221 printf (COPYRIGHT, copyright, email);
222 222
223 printf ("%s\n", _("Negates the status of a plugin (returns OK for CRITICAL and vice-versa).")); 223 printf ("%s\n", _("Negates only the return code of a plugin (returns OK for CRITICAL and vice-versa) by default."));
224 printf ("%s\n", _("Additional switches can be used to control which state becomes what.")); 224 printf ("%s\n", _("Additional switches can be used to control:\n"));
225 printf ("- which state becomes what\n");
226 printf ("- changing the plugin output text to match the return code");
225 227
226 printf ("\n\n"); 228 printf ("\n\n");
227 229