getopt fix

This commit is contained in:
Evgeny Zinoviev 2021-07-28 19:42:46 +03:00
parent 0e42f3c4ee
commit a9ddb043cc

2
main.c
View File

@ -70,7 +70,7 @@ int main(int argc, char* argv[])
{0, 0, 0, 0} {0, 0, 0, 0}
}; };
while ((opt = getopt_long(argc, argv, "+hn:f:u:g:", long_options, NULL)) != EOF) { while ((opt = getopt_long(argc, argv, "+hn:f:u:g:e:", long_options, NULL)) != EOF) {
switch (opt) { switch (opt) {
case 'h': case 'h':
usage(argv[0]); usage(argv[0]);