diff options
| author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-11-09 03:39:35 +0000 |
|---|---|---|
| committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-11-09 03:39:35 +0000 |
| commit | 731426203c88b76255492ad69138e6ecc7b0c7b5 (patch) | |
| tree | 5e3c65a22a5a5d051ca72f5e17a73784e6032041 /plugins/check_ping.c | |
| parent | d3af657e468065dcbae73e6a7289f7090822bacd (diff) | |
| download | monitoring-plugins-731426203c88b76255492ad69138e6ecc7b0c7b5.tar.gz | |
define and use usage3 where second part of message is a an int/char
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@178 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ping.c')
| -rw-r--r-- | plugins/check_ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 7ff7f284..74aa3b7c 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
| @@ -187,7 +187,7 @@ process_arguments (int argc, char **argv) | |||
| 187 | 187 | ||
| 188 | switch (c) { | 188 | switch (c) { |
| 189 | case '?': /* usage */ | 189 | case '?': /* usage */ |
| 190 | usage2 ("Unknown argument", optarg); | 190 | usage3 ("Unknown argument", optopt); |
| 191 | case 'h': /* help */ | 191 | case 'h': /* help */ |
| 192 | print_help (); | 192 | print_help (); |
| 193 | exit (STATE_OK); | 193 | exit (STATE_OK); |
