mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[common] options: Fix regression in option parsing logic
This commit is contained in:
parent
9d66a68403
commit
53525847fd
@ -346,6 +346,7 @@ bool option_parse(int argc, char * argv[])
|
|||||||
o = state.options[i];
|
o = state.options[i];
|
||||||
if (o->type != OPTION_TYPE_BOOL && a < argc - 1)
|
if (o->type != OPTION_TYPE_BOOL && a < argc - 1)
|
||||||
{
|
{
|
||||||
|
++a;
|
||||||
char * v = argv[a];
|
char * v = argv[a];
|
||||||
|
|
||||||
//ltrim
|
//ltrim
|
||||||
|
Loading…
Reference in New Issue
Block a user