Code

in short options, t no no argument
[nagiosplug.git] / plugins / check_by_ssh.c
index 93f1ead53173db1d348db022c74b393f0de4d276..59e417861fcac568f13e3c36cf79b5e04dc2f9e9 100644 (file)
@@ -209,10 +209,10 @@ process_arguments (int argc, char **argv)
        while (1) {
 #ifdef HAVE_GETOPT_H
                c =
-                       getopt_long (argc, argv, "+?Vvhft46H:O:p:i:u:l:C:n:s:", long_options,
+                       getopt_long (argc, argv, "Vvh46ft:H:O:p:i:u:l:C:n:s:", long_options,
                                                                         &option_index);
 #else
-               c = getopt (argc, argv, "+?Vvhft46H:O:p:i:u:l:C:n:s:");
+               c = getopt (argc, argv, "Vvh46ft:H:O:p:i:u:l:C:n:s:");
 #endif
 
                if (c == -1 || c == EOF)