aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libsimple-arg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsimple-arg.c b/libsimple-arg.c
index fcebb42..a802c55 100644
--- a/libsimple-arg.c
+++ b/libsimple-arg.c
@@ -332,6 +332,7 @@ parser6(int argc, char *argv[])
PARSER_BEGIN;
ARGBEGIN2(1, 1) {
default:
+ assert(ARGHERE() == &LFLAG()[1]);
argv[0] = LFLAG();
goto stop;
} ARGALT('+') {