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. 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) 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 v0.10-9-g596f From 2ab03d5f9c94ebd2ac666b706b3eeff090712dd0 Mon Sep 17 00:00:00 2001 From: Eunice Remoquillo Date: Mon, 12 Feb 2024 19:33:38 +0800 Subject: Added indentions for readability diff --git a/plugins/negate.c b/plugins/negate.c index 15a38c1..c5fe7e1 100644 --- a/plugins/negate.c +++ b/plugins/negate.c @@ -222,8 +222,8 @@ print_help (void) 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 ("\t - which state becomes what\n"); + printf ("\t - changing the plugin output text to match the return code"); printf ("\n\n"); -- cgit v0.10-9-g596f