diff options
-rw-r--r-- | plugins/check_http.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index 82f6ebd..de00e02 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
@@ -175,15 +175,16 @@ process_arguments (int argc, char **argv) | |||
175 | int option = 0; | 175 | int option = 0; |
176 | static struct option longopts[] = { | 176 | static struct option longopts[] = { |
177 | STD_LONG_OPTS, | 177 | STD_LONG_OPTS, |
178 | {"file",required_argument,0,'F'}, | ||
179 | {"link", no_argument, 0, 'L'}, | 178 | {"link", no_argument, 0, 'L'}, |
180 | {"nohtml", no_argument, 0, 'n'}, | 179 | {"nohtml", no_argument, 0, 'n'}, |
181 | {"ssl", no_argument, 0, 'S'}, | 180 | {"ssl", no_argument, 0, 'S'}, |
182 | {"verbose", no_argument, 0, 'v'}, | ||
183 | {"post", required_argument, 0, 'P'}, | 181 | {"post", required_argument, 0, 'P'}, |
184 | {"IP-address", required_argument, 0, 'I'}, | 182 | {"IP-address", required_argument, 0, 'I'}, |
185 | {"url", required_argument, 0, 'u'}, | 183 | {"url", required_argument, 0, 'u'}, |
184 | {"port", required_argument, 0, 'p'}, | ||
185 | {"authorization", required_argument, 0, 'a'}, | ||
186 | {"string", required_argument, 0, 's'}, | 186 | {"string", required_argument, 0, 's'}, |
187 | {"expect", required_argument, 0, 'e'}, | ||
187 | {"regex", required_argument, 0, 'r'}, | 188 | {"regex", required_argument, 0, 'r'}, |
188 | {"ereg", required_argument, 0, 'r'}, | 189 | {"ereg", required_argument, 0, 'r'}, |
189 | {"eregi", required_argument, 0, 'R'}, | 190 | {"eregi", required_argument, 0, 'R'}, |
@@ -1295,7 +1296,7 @@ print_help (void) | |||
1295 | printf (" %s\n", _("String to be sent in http header as \"User Agent\"")); | 1296 | printf (" %s\n", _("String to be sent in http header as \"User Agent\"")); |
1296 | printf (" %s\n", "-k, --header=STRING"); | 1297 | printf (" %s\n", "-k, --header=STRING"); |
1297 | printf (" %s\n", _(" Any other tags to be sent in http header. Use multiple times for additional headers")); | 1298 | printf (" %s\n", _(" Any other tags to be sent in http header. Use multiple times for additional headers")); |
1298 | printf (" %s\n", "-L, --link=URL"); | 1299 | printf (" %s\n", "-L, --link"); |
1299 | printf (" %s\n", _("Wrap output in HTML link (obsoleted by urlize)")); | 1300 | printf (" %s\n", _("Wrap output in HTML link (obsoleted by urlize)")); |
1300 | printf (" %s\n", "-f, --onredirect=<ok|warning|critical|follow>"); | 1301 | printf (" %s\n", "-f, --onredirect=<ok|warning|critical|follow>"); |
1301 | printf (" %s\n", _("How to handle redirected pages")); | 1302 | printf (" %s\n", _("How to handle redirected pages")); |