diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2007-03-06 22:45:57 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2007-03-06 22:45:57 +0000 |
commit | bc489aab2dbbd26864148400eabf34b5b0d9065f (patch) | |
tree | 3f69298b7119999b1c615ec9a310d96227c37a8f /plugins/check_http.c | |
parent | cf2ba0769c55dc4d0eeb5f4d71b9f422ab0edcfc (diff) | |
download | monitoring-plugins-bc489aab2dbbd26864148400eabf34b5b0d9065f.tar.gz |
Fix option handling (Nobuhiro Ban - 1657280)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1632 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_http.c')
-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 82f6ebde..de00e029 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c @@ -175,15 +175,16 @@ process_arguments (int argc, char **argv) int option = 0; static struct option longopts[] = { STD_LONG_OPTS, - {"file",required_argument,0,'F'}, {"link", no_argument, 0, 'L'}, {"nohtml", no_argument, 0, 'n'}, {"ssl", no_argument, 0, 'S'}, - {"verbose", no_argument, 0, 'v'}, {"post", required_argument, 0, 'P'}, {"IP-address", required_argument, 0, 'I'}, {"url", required_argument, 0, 'u'}, + {"port", required_argument, 0, 'p'}, + {"authorization", required_argument, 0, 'a'}, {"string", required_argument, 0, 's'}, + {"expect", required_argument, 0, 'e'}, {"regex", required_argument, 0, 'r'}, {"ereg", required_argument, 0, 'r'}, {"eregi", required_argument, 0, 'R'}, @@ -1295,7 +1296,7 @@ print_help (void) printf (" %s\n", _("String to be sent in http header as \"User Agent\"")); printf (" %s\n", "-k, --header=STRING"); printf (" %s\n", _(" Any other tags to be sent in http header. Use multiple times for additional headers")); - printf (" %s\n", "-L, --link=URL"); + printf (" %s\n", "-L, --link"); printf (" %s\n", _("Wrap output in HTML link (obsoleted by urlize)")); printf (" %s\n", "-f, --onredirect=<ok|warning|critical|follow>"); printf (" %s\n", _("How to handle redirected pages")); |