From a137c3fdf3af02042edc1c9f53910640c61c3072 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 6 Apr 2013 19:57:54 -0500 Subject: Fix argument parsing so -- doesn't include itself in output. --- lib/args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/args.c b/lib/args.c index 67c7788a..fa1d4e6f 100644 --- a/lib/args.c +++ b/lib/args.c @@ -372,7 +372,7 @@ void get_optflags(void) // Handle -- if (!*gof.arg) { gof.stopearly += 2; - goto notflag; + continue; } // Handle --longopt -- cgit v1.2.3