From 4c4031100a4520fe1e9a835e56b00e32b841f63e Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 7 Apr 2024 19:30:26 +0200 Subject: check_curl/check_http: clarified format of POST data (#1978) --- plugins/check_curl.c | 2 +- plugins/check_http.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/check_curl.c b/plugins/check_curl.c index fbb197f7..d45a8fc5 100644 --- a/plugins/check_curl.c +++ b/plugins/check_curl.c @@ -2022,7 +2022,7 @@ print_help (void) printf (" %s\n", "-u, --url=PATH"); printf (" %s\n", _("URL to GET or POST (default: /)")); printf (" %s\n", "-P, --post=STRING"); - printf (" %s\n", _("URL encoded http POST data")); + printf (" %s\n", _("URL decoded http POST data")); printf (" %s\n", "-j, --method=STRING (for example: HEAD, OPTIONS, TRACE, PUT, DELETE, CONNECT)"); printf (" %s\n", _("Set HTTP method.")); printf (" %s\n", "-N, --no-body"); diff --git a/plugins/check_http.c b/plugins/check_http.c index 425ce86b..edcb3fec 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c @@ -1774,7 +1774,7 @@ print_help (void) printf (" %s\n", "-u, --url=PATH"); printf (" %s\n", _("URL to GET or POST (default: /)")); printf (" %s\n", "-P, --post=STRING"); - printf (" %s\n", _("URL encoded http POST data")); + printf (" %s\n", _("URL decoded http POST data")); printf (" %s\n", "-j, --method=STRING (for example: HEAD, OPTIONS, TRACE, PUT, DELETE, CONNECT, CONNECT:POST)"); printf (" %s\n", _("Set HTTP method.")); printf (" %s\n", "-N, --no-body"); -- cgit v1.2.3-74-g34f1