OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf950cd
)
Now that we're using the adjusted option string, need to skip placeholders in [groups].
author
Rob Landley
<rob@landley.net>
Mon, 4 Jul 2016 13:32:42 +0000
(08:32 -0500)
committer
Rob Landley
<rob@landley.net>
Mon, 4 Jul 2016 13:32:42 +0000
(08:32 -0500)
lib/args.c
patch
|
blob
|
history
diff --git
a/lib/args.c
b/lib/args.c
index
1f42cdd
..
e6378be
100644
(file)
--- a/
lib/args.c
+++ b/
lib/args.c
@@
-360,6
+360,7
@@
void parse_optflaglist(struct getoptflagstate *gof)
if (!opt) break;
if (bits&(1<<i)) opt->dex[idx] |= bits&~(1<<i);
} else {
+ if (*options==1) break;
if (CFG_TOYBOX_DEBUG && !opt)
error_exit("[] unknown target %c", *options);
if (opt->c == *options) {