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