X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fcheck_real.c;h=0ccc1c098c6d8e85723a1006fe7d7942f040bd25;hb=2375feee3d81b692116f078b41df8b19aecd6e68;hp=7922bfa96d57608b740c432e28daab298f12fba7;hpb=f2d66913f9451674bb7b6dec514cf2fdff9698bc;p=nagiosplug.git diff --git a/plugins/check_real.c b/plugins/check_real.c index 7922bfa..0ccc1c0 100644 --- a/plugins/check_real.c +++ b/plugins/check_real.c @@ -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 (); } }