Merge pull request #2056 from monitoring-plugins/fix_check_http_state_regex

check_http: fix documentation for --state-regex
This commit is contained in:
Lorenz Kästle 2025-01-07 11:36:08 +01:00 committed by GitHub
commit e23325f7c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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");