Code

Bump plugins/ to GPLv3 (check_apt to check_nwstat)
[nagiosplug.git] / plugins / check_real.c
index 7922bfa96d57608b740c432e28daab298f12fba7..0ccc1c098c6d8e85723a1006fe7d7942f040bd25 100644 (file)
@@ -11,6 +11,9 @@
 *
 * This file contains the check_real plugin
 *
+*  This plugin tests the REAL service on the specified host.
+*
+*
 * License Information:
 *
 * This program is free software; you can redistribute it and/or modify
@@ -299,7 +302,7 @@ process_arguments (int argc, char **argv)
        }
 
        while (1) {
-               c = getopt_long (argc, argv, "+hVI:H:e:u:p:w:c:t:", longopts,
+               c = getopt_long (argc, argv, "+hvVI:H:e:u:p:w:c:t:", longopts,
                                                                         &option);
 
                if (c == -1 || c == EOF)
@@ -365,7 +368,7 @@ process_arguments (int argc, char **argv)
                        print_help ();
                        exit (STATE_OK);
                case '?':                                                                       /* usage */
-                       usage2 (_("Unknown argument"), optarg);
+                       usage5 ();
                }
        }