mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-12-03 13:44:05 +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