summaryrefslogtreecommitdiffstats
path: root/plugins/check_ping.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-25 23:17:46 +0000
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-25 23:17:46 +0000
commite9ccc6b21a1152bbf150302c4a29a6df79d75bd7 (patch)
tree91bf1ebb6f927fd628b298df2ac5a89580282591 /plugins/check_ping.c
parent71656b2aafffb69716620bf08cce76c925dc8fa3 (diff)
downloadmonitoring-plugins-e9ccc6b21a1152bbf150302c4a29a6df79d75bd7.tar.gz
various fixes for localization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1061 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r--plugins/check_ping.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index 91764666..818bb668 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -194,9 +194,7 @@ process_arguments (int argc, char **argv)
194 194
195 switch (c) { 195 switch (c) {
196 case '?': /* usage */ 196 case '?': /* usage */
197 printf (_("%s: Unknown argument: %s\n\n"), progname, optarg); 197 usage2 (_("Unknown argument"), optarg);
198 print_usage ();
199 exit (STATE_UNKNOWN);
200 case 'h': /* help */ 198 case 'h': /* help */
201 print_help (); 199 print_help ();
202 exit (STATE_OK); 200 exit (STATE_OK);