Skip to content

Commit

Permalink
[common] options: Fix regression in option parsing logic
Browse files Browse the repository at this point in the history
  • Loading branch information
netboy3 authored and gnif committed May 3, 2023
1 parent 9d66a68 commit 5352584
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/src/option.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ bool option_parse(int argc, char * argv[])
o = state.options[i];
if (o->type != OPTION_TYPE_BOOL && a < argc - 1)
{
++a;
char * v = argv[a];

//ltrim
Expand Down

0 comments on commit 5352584

Please sign in to comment.