aboutsummaryrefslogtreecommitdiff
path: root/lib/args.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-04-06 19:57:54 -0500
committerRob Landley <rob@landley.net>2013-04-06 19:57:54 -0500
commita137c3fdf3af02042edc1c9f53910640c61c3072 (patch)
tree4d5e04b2bf8666970f3107e0e6f0f0c62381970d /lib/args.c
parenta586f201d612e695e49536cb7610e94bbad2c236 (diff)
downloadtoybox-a137c3fdf3af02042edc1c9f53910640c61c3072.tar.gz
Fix argument parsing so -- doesn't include itself in output.
Diffstat (limited to 'lib/args.c')
-rw-r--r--lib/args.c2
1 files changed, 1 insertions, 1 deletions
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