mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Null terminate long options to find unhandled options
This commit is contained in:
parent
c951b17a20
commit
e6669cf156
1
main.c
1
main.c
|
|
@ -217,6 +217,7 @@ static struct option long_options[] = {
|
||||||
{"version", no_argument, 0, 'V'},
|
{"version", no_argument, 0, 'V'},
|
||||||
{"window", required_argument, 0, 'w'},
|
{"window", required_argument, 0, 'w'},
|
||||||
{"zpaq", no_argument, 0, 'z'},
|
{"zpaq", no_argument, 0, 'z'},
|
||||||
|
{0, 0, 0, 0},
|
||||||
};
|
};
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue