Support the "--" end-of-options marker.

This commit is contained in:
Tim J. Robbins 2002-06-08 11:33:22 +00:00
parent 733657c588
commit cbffce5928

View File

@ -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++)