getopt fix
This commit is contained in:
parent
0e42f3c4ee
commit
a9ddb043cc
2
main.c
2
main.c
@ -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]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user