aboutsummaryrefslogtreecommitdiffstats
path: root/libsimple-arg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsimple-arg.c')
-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('+') {