Skip to content

Commit

Permalink
test: test
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper93 committed Aug 30, 2024
1 parent 7c672e3 commit a4f3ac8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions options/parse_commandline.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ static bool split_opt(struct parse_state *p)
return false;

p->is_opt = false;
if (p->argv[0][0] == 'a') {
p->argv++;
abort();
}
p->arg = bstr0(p->argv[0]);
p->param = bstr0(NULL);

Expand Down

0 comments on commit a4f3ac8

Please sign in to comment.