From d2df0464812e7ccc4381eb8ea41d94194fc36805 Mon Sep 17 00:00:00 2001 From: Eunice Remoquillo Date: Mon, 12 Feb 2024 10:59:18 +0800 Subject: Improve negate plugin helptext This commit updates the negate plugin's helptext as it is currently ambiguous. --- plugins/negate.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/negate.c b/plugins/negate.c index 745c12ac..15a38c13 100644 --- a/plugins/negate.c +++ b/plugins/negate.c @@ -220,8 +220,10 @@ print_help (void) printf (COPYRIGHT, copyright, email); - printf ("%s\n", _("Negates the status of a plugin (returns OK for CRITICAL and vice-versa).")); - printf ("%s\n", _("Additional switches can be used to control which state becomes what.")); + printf ("%s\n", _("Negates only the return code of a plugin (returns OK for CRITICAL and vice-versa) by default.")); + printf ("%s\n", _("Additional switches can be used to control:\n")); + printf ("- which state becomes what\n"); + printf ("- changing the plugin output text to match the return code"); printf ("\n\n"); -- cgit v1.2.3-74-g34f1