Don't treat -unit as a mode flag when counting mode flags.
Submitted by: Gert-Jan Vons <gert-jan@bigfoot.com>
This commit is contained in:
parent
12f035e0fd
commit
0d3751e7bd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53043
@ -240,6 +240,7 @@ ProcessArgs(int argc, char **argv, struct switches *sw)
|
||||
sw->unit = atoi(argv[arg]);
|
||||
} else
|
||||
sw->unit = atoi(cp + 4);
|
||||
optc--; /* this option isn't exclusive */
|
||||
} else if (strcmp(cp, "quiet") == 0) {
|
||||
sw->quiet = 1;
|
||||
optc--; /* this option isn't exclusive */
|
||||
|
Loading…
Reference in New Issue
Block a user