Code

Bump plugins/ to GPLv3 (check_apt to check_nwstat)
[nagiosplug.git] / plugins / check_users.c
index 34d4775220eddc47ab4ee4d08fc8369c29f035c1..8e5f23d72a17e86ef886829fb69bfdf24a0a1e4c 100644 (file)
@@ -3,7 +3,7 @@
 * Nagios check_users plugin
 *
 * License: GPL
-* Copyright (c) 2002-2006 nagios-plugins team
+* Copyright (c) 2000-2006 nagios-plugins team
 *
 * Last Modified: $Date$
 *
@@ -11,6 +11,9 @@
 *
 * This file contains the check_users plugin
 *
+*  This plugin checks the number of users currently logged in on the local
+*  system and generates an error if the number exceeds the thresholds specified.
+*
 * License Information:
 *
 * This program is free software; you can redistribute it and/or modify
@@ -153,7 +156,7 @@ process_arguments (int argc, char **argv)
 
                switch (c) {
                case '?':                                                                       /* print short usage statement if args not parsable */
-                       usage2 (_("Unknown argument"), optarg);
+                       usage5 ();
                case 'h':                                                                       /* help */
                        print_help ();
                        exit (STATE_OK);