[monitoring-plugins] check_curl: change help for --state-regex again ...
RincewindsHat
git at monitoring-plugins.org
Sun Oct 6 23:30:12 CEST 2024
Module: monitoring-plugins
Branch: master
Commit: af097aa3642174a2111f0bbcbc8236fff0901e17
Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
Date: Mon Aug 19 15:33:17 2024 +0200
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=af097aa
check_curl: change help for --state-regex again to fix formatting
---
plugins/check_curl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index 38c9710..214ba74 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -2062,7 +2062,7 @@ print_help (void)
printf (" %s\n", _("Return STATE if found, OK if not (STATE is CRITICAL, per default)"));
printf (" %s\n", _("can be changed with --state--regex)"));
printf (" %s\n", "--state-regex=STATE");
- printf (" %s\n", _("Return STATE if regex is found, OK if not\nSTATE can be one of \"critical\",\"warning\""));
+ printf (" %s\n", _("Return STATE if regex is found, OK if not. STATE can be one of \"critical\",\"warning\""));
printf (" %s\n", "-a, --authorization=AUTH_PAIR");
printf (" %s\n", _("Username:password on sites with basic authentication"));
printf (" %s\n", "-b, --proxy-authorization=AUTH_PAIR");
More information about the Commits
mailing list