diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2024-04-07 19:30:26 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2024-04-07 19:30:26 +0200 |
commit | 4c4031100a4520fe1e9a835e56b00e32b841f63e (patch) | |
tree | a96f62c1fec396f1848ecfd41bbf174451d5119a | |
parent | 7da628699564ffb21eade261921b5098728d65f2 (diff) | |
download | monitoring-plugins-4c4031100a4520fe1e9a835e56b00e32b841f63e.tar.gz |
check_curl/check_http: clarified format of POST data (#1978)
-rw-r--r-- | plugins/check_curl.c | 2 | ||||
-rw-r--r-- | 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) | |||
2022 | printf (" %s\n", "-u, --url=PATH"); | 2022 | printf (" %s\n", "-u, --url=PATH"); |
2023 | printf (" %s\n", _("URL to GET or POST (default: /)")); | 2023 | printf (" %s\n", _("URL to GET or POST (default: /)")); |
2024 | printf (" %s\n", "-P, --post=STRING"); | 2024 | printf (" %s\n", "-P, --post=STRING"); |
2025 | printf (" %s\n", _("URL encoded http POST data")); | 2025 | printf (" %s\n", _("URL decoded http POST data")); |
2026 | printf (" %s\n", "-j, --method=STRING (for example: HEAD, OPTIONS, TRACE, PUT, DELETE, CONNECT)"); | 2026 | printf (" %s\n", "-j, --method=STRING (for example: HEAD, OPTIONS, TRACE, PUT, DELETE, CONNECT)"); |
2027 | printf (" %s\n", _("Set HTTP method.")); | 2027 | printf (" %s\n", _("Set HTTP method.")); |
2028 | printf (" %s\n", "-N, --no-body"); | 2028 | 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) | |||
1774 | printf (" %s\n", "-u, --url=PATH"); | 1774 | printf (" %s\n", "-u, --url=PATH"); |
1775 | printf (" %s\n", _("URL to GET or POST (default: /)")); | 1775 | printf (" %s\n", _("URL to GET or POST (default: /)")); |
1776 | printf (" %s\n", "-P, --post=STRING"); | 1776 | printf (" %s\n", "-P, --post=STRING"); |
1777 | printf (" %s\n", _("URL encoded http POST data")); | 1777 | printf (" %s\n", _("URL decoded http POST data")); |
1778 | printf (" %s\n", "-j, --method=STRING (for example: HEAD, OPTIONS, TRACE, PUT, DELETE, CONNECT, CONNECT:POST)"); | 1778 | printf (" %s\n", "-j, --method=STRING (for example: HEAD, OPTIONS, TRACE, PUT, DELETE, CONNECT, CONNECT:POST)"); |
1779 | printf (" %s\n", _("Set HTTP method.")); | 1779 | printf (" %s\n", _("Set HTTP method.")); |
1780 | printf (" %s\n", "-N, --no-body"); | 1780 | printf (" %s\n", "-N, --no-body"); |