Fix argument parsing so -- doesn't include itself in output.
authorRob Landley <rob@landley.net>
Sun, 7 Apr 2013 00:57:54 +0000 (19:57 -0500)
committerRob Landley <rob@landley.net>
Sun, 7 Apr 2013 00:57:54 +0000 (19:57 -0500)
lib/args.c

index 67c7788..fa1d4e6 100644 (file)
@@ -372,7 +372,7 @@ void get_optflags(void)
         // Handle --
         if (!*gof.arg) {
           gof.stopearly += 2;
-          goto notflag;
+          continue;
         }
         // Handle --longopt