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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98048

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