diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-23 18:54:25 +0000 |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-23 18:54:25 +0000 |
commit | 31713f6886512cfe9c5472b21a42203331a88200 (patch) | |
tree | 22f8bea166ecb08d9c9274d13f67f8fe969a86c0 /plugins/check_http.c | |
parent | 9110c2be7a42e03466b0827f447229db4e73f496 (diff) | |
download | monitoring-plugins-31713f6886512cfe9c5472b21a42203331a88200.tar.gz |
internationalization fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1056 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r-- | plugins/check_http.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index 5f96e31e..6e767062 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c @@ -251,9 +251,7 @@ process_arguments (int argc, char **argv) switch (c) { case '?': /* usage */ - printf (_("%s: Unknown argument: %s\n\n"), progname, optarg); - print_usage (); - exit (STATE_UNKNOWN); + usage2 (_("Unknown argument"), optarg); break; case 'h': /* help */ print_help (); @@ -299,7 +297,7 @@ process_arguments (int argc, char **argv) break; case 'S': /* use SSL */ #ifndef HAVE_SSL - usage (_("check_http: invalid option - SSL is not available\n")); + usage4 (_("Invalid option - SSL is not available")); #endif use_ssl = TRUE; if (specify_port == FALSE) @@ -314,7 +312,7 @@ process_arguments (int argc, char **argv) check_cert = TRUE; } #else - usage (_("Invalid option - SSL is not available\n")); + usage4 (_("Invalid option - SSL is not available")); #endif break; case 'f': /* onredirect */ |