Merge 73c2905839
into 1713aa7b4d
This commit is contained in:
commit
9d7f6a0458
|
@ -93,7 +93,9 @@ translate_opts(char *oldopts, FILE *out)
|
|||
return (EOF);
|
||||
newopts[0] = '\0';
|
||||
s = oldopts;
|
||||
while ((o = strsep(&s, "-, ")) != NULL) {
|
||||
while ((o = strsep(&s, ", ")) != NULL) {
|
||||
if (o[0] == '-')
|
||||
o++;
|
||||
if (o[0] == '\0')
|
||||
continue;
|
||||
for (i = 0; i < ARRAY_SIZE(known_opts); ++i) {
|
||||
|
|
Loading…
Reference in New Issue