=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tput/tput.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/tput/tput.c 1996/06/26 05:41:47 1.2 --- src/usr.bin/tput/tput.c 1997/01/15 23:43:23 1.3 *************** *** 1,4 **** ! /* $OpenBSD: tput.c,v 1.2 1996/06/26 05:41:47 deraadt Exp $ */ /* $NetBSD: tput.c,v 1.8 1995/08/31 22:11:37 jtc Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: tput.c,v 1.3 1997/01/15 23:43:23 millert Exp $ */ /* $NetBSD: tput.c,v 1.8 1995/08/31 22:11:37 jtc Exp $ */ /*- *************** *** 44,50 **** #if 0 static char sccsid[] = "@(#)tput.c 8.3 (Berkeley) 4/28/95"; #endif ! static char rcsid[] = "$OpenBSD: tput.c,v 1.2 1996/06/26 05:41:47 deraadt Exp $"; #endif /* not lint */ #include --- 44,50 ---- #if 0 static char sccsid[] = "@(#)tput.c 8.3 (Berkeley) 4/28/95"; #endif ! static char rcsid[] = "$OpenBSD: tput.c,v 1.3 1997/01/15 23:43:23 millert Exp $"; #endif /* not lint */ #include *************** *** 72,78 **** char *cptr, *p, *term, buf[1024], tbuf[1024]; term = NULL; ! while ((ch = getopt(argc, argv, "T:")) != EOF) switch(ch) { case 'T': term = optarg; --- 72,78 ---- char *cptr, *p, *term, buf[1024], tbuf[1024]; term = NULL; ! while ((ch = getopt(argc, argv, "T:")) != -1) switch(ch) { case 'T': term = optarg;