diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-24 00:46:40 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-24 00:46:40 +0000 |
commit | 0c1c9f51e2c33db04918d2aa322fd1f9a688979b (patch) | |
tree | c7956483bce0deb4b73ca3a6b9d0b7f2e97620db /plugins/check_hpjd.c | |
parent | 589d4664919638bedd6e2e1710c323887d19584a (diff) | |
download | monitoring-plugins-0c1c9f51e2c33db04918d2aa322fd1f9a688979b.tar.gz |
Making messages more consistent
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@930 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_hpjd.c')
-rw-r--r-- | plugins/check_hpjd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c index ec6bdf97..b124cceb 100644 --- a/plugins/check_hpjd.c +++ b/plugins/check_hpjd.c @@ -321,7 +321,7 @@ process_arguments (int argc, char **argv) address = strscpy(address, optarg) ; } else { - usage (_("Invalid host name\n")); + usage2 (_("Invalid host name"), optarg); } break; case 'C': /* community */ @@ -344,7 +344,7 @@ process_arguments (int argc, char **argv) address = argv[c++]; } else { - usage (_("Invalid host name")); + usage2 (_("Invalid host name"), argv[c]); } } @@ -378,8 +378,8 @@ print_help (void) { print_revision (progname, revision); - printf (_("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n")); - printf (_(COPYRIGHT), copyright, email); + printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"); + printf (COPYRIGHT, copyright, email); printf (_("\ This plugin tests the STATUS of an HP printer with a JetDirect card.\n\ |