summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-10-31 01:51:27 +0100
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-10-31 01:51:27 +0100
commita9d77ac5456fa0366783f7fec2525d4c159fecdf (patch)
tree282c01d494f225562de62228ac760d26b6979515
parentd9a999de7b182a6dd257f8b6d83067070f51e4c3 (diff)
downloadmonitoring-plugins-a9d77ac.tar.gz
check_users: Update help to properly show that thresholds are ranges
-rw-r--r--plugins/check_users.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_users.c b/plugins/check_users.c
index 916a691d..89b95369 100644
--- a/plugins/check_users.c
+++ b/plugins/check_users.c
@@ -266,10 +266,10 @@ print_help (void)
266 printf (UT_HELP_VRSN); 266 printf (UT_HELP_VRSN);
267 printf (UT_EXTRA_OPTS); 267 printf (UT_EXTRA_OPTS);
268 268
269 printf (" %s\n", "-w, --warning=INTEGER"); 269 printf (" %s\n", "-w, --warning=RANGE_EXPRESSION");
270 printf (" %s\n", _("Set WARNING status if more than INTEGER users are logged in")); 270 printf (" %s\n", _("Set WARNING status if number of logged in users violates RANGE_EXPRESSION"));
271 printf (" %s\n", "-c, --critical=INTEGER"); 271 printf (" %s\n", "-c, --critical=RANGE_EXPRESSION");
272 printf (" %s\n", _("Set CRITICAL status if more than INTEGER users are logged in")); 272 printf (" %s\n", _("Set CRITICAL status if number of logged in users violates RANGE_EXPRESSION"));
273 273
274 printf (UT_SUPPORT); 274 printf (UT_SUPPORT);
275} 275}