Module: monitoring-plugins Branch: fix_check_http_state_regex Commit: e445a386f8ad1166b05fcdfdb5b9cde4622a8632 Author: Andreas Baumann <m...@andreasbaumann.cc> Date: Fri Dec 27 15:32:24 2024 +0100 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=e445a386
check_http: fix documentation for --state-regex --- plugins/check_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/check_http.c b/plugins/check_http.c index 97c0e39a..baff682a 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c @@ -1805,7 +1805,7 @@ print_help (void) printf (" %s\n", "--invert-regex"); 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", "--regex-state=STATE"); + printf (" %s\n", "--state-regex=STATE"); printf (" %s\n", _("Return STATE if regex is found, OK if not\n")); printf (" %s\n", "-a, --authorization=AUTH_PAIR");