Code

Don't try to print `optarg' (which will be a NULL pointer) if an unknown
[nagiosplug.git] / plugins / check_mrtg.c
index 7cee31ebcdcf6106e77d37c7c5a4756457e1f7bb..4abe1d767dc668c639b6d3449636091f7a450eb4 100644 (file)
@@ -243,7 +243,7 @@ process_arguments (int argc, char **argv)
                        print_help ();
                        exit (STATE_OK);
                case '?':                                                                       /* help */
-                       usage2 (_("Unknown argument"), optarg);
+                       usage5 ();
                }
        }