Code

Stop double expansion of parameters for negate - works like
[nagiosplug.git] / plugins / check_hpjd.c
index 632237acd12a8018e37449c3b4970f51aa6c5c7e..8a60ce8c855fd2bcd33a0f756d30c80af73515e4 100644 (file)
@@ -1,5 +1,22 @@
 /******************************************************************************
 *
+* Nagios check_hpjd plugin
+*
+* License: GPL
+* Copyright (c) 1999-2006 nagios-plugins team
+*
+* Last Modified: $Date$
+*
+* Description:
+*
+* This file contains the check_hpjd plugin
+*
+*  This plugin tests the STATUS of an HP printer with a JetDirect card.
+*  Net-snmp must be installed on the computer running the plugin.
+*
+*
+* License Information:
+*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
@@ -334,7 +351,7 @@ process_arguments (int argc, char **argv)
                        print_help ();
                        exit (STATE_OK);
                case '?':                                                                       /* help */
-                       usage2 (_("Unknown argument"), optarg);
+                       usage5 ();
                }
        }