diff options
author | Rob Landley <rob@landley.net> | 2015-01-01 16:19:40 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-01-01 16:19:40 -0600 |
commit | cf2516ab4bcf2c1d4cb571539dae794c6a40c5c6 (patch) | |
tree | f8f6d468d535f58f0cadfb2b58a09f7a6ef5ecde /lib/args.c | |
parent | eeff24f941eee0696b36ec7115bb9e958e38ac10 (diff) | |
download | toybox-cf2516ab4bcf2c1d4cb571539dae794c6a40c5c6.tar.gz toybox-cf2516ab4bcf2c1d4cb571539dae794c6a40c5c6.tar.bz2 toybox-cf2516ab4bcf2c1d4cb571539dae794c6a40c5c6.zip |
Debris from flag handling rewrite: don't allow -^A to actually trigger.
Diffstat (limited to 'lib/args.c')
-rw-r--r-- | lib/args.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -327,6 +327,7 @@ void parse_optflaglist(struct getoptflagstate *gof) for (new = gof->opts; new; new = new->next) { unsigned u = 1<<idx++; + if (new->c == 1) new->c = 0; new->dex[1] = u; if (new->flags & 1) gof->requires |= u; if (new->type) { |