Fix getopt() string so -o works.

This commit is contained in:
Bill Paul 2003-12-11 23:30:36 +00:00
parent 87feaafc5b
commit 895ac9675f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123479

View file

@ -171,7 +171,7 @@ main(int argc, char *argv[])
char *inffile = NULL, *sysfile = NULL, *outfile = NULL;
int ch;
while((ch = getopt(argc, argv, "i:s:o")) != -1) {
while((ch = getopt(argc, argv, "i:s:o:")) != -1) {
switch(ch) {
case 'i':
inffile = optarg;