Support the "--" end-of-options marker.
This commit is contained in:
parent
733657c588
commit
cbffce5928
@ -115,6 +115,9 @@ main(int argc __unused, char *argv[])
|
||||
usage();
|
||||
setenv("TERM", arg, 1);
|
||||
}
|
||||
} else if (arg[1] == '-') {
|
||||
arg = *++argv;
|
||||
break;
|
||||
} else {
|
||||
/* Predefined format */
|
||||
for (i = 0; i < (int)NELEMS(formats); i++)
|
||||
|
Loading…
Reference in New Issue
Block a user