fixed getopt: "invalid option" on -n

master
ha7ilm 2015-09-24 21:08:56 +00:00
rodzic 8458d87948
commit 3694614de8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -782,7 +782,7 @@ void parse_commandline(
while (1) {
/* getopt_long stores the option index here. */
int option_index = 0;
int c = getopt_long (argc, argv, "hp:srx:ot:",
int c = getopt_long (argc, argv, "hp:srx:ot:n",
long_options, &option_index);
if (c == -1)
break;