mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
Enable errors about non-existing CLI options
Set opterr and optind to their normal default values.
This commit is contained in:
parent
7a4bf94a52
commit
e941e21cd6
|
@ -85,8 +85,8 @@ static const char *progname;
|
|||
|
||||
/* These are used to replace unistd.h include. */
|
||||
char *optarg = 0;
|
||||
int optind = 0;
|
||||
int opterr = 0;
|
||||
int optind = 1;
|
||||
int opterr = 1;
|
||||
int optopt = 0;
|
||||
int optreset = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue