Return to tput.c CVS log | Up to [local] / src / usr.bin / tput |
version 1.2, 1996/06/26 05:41:47 | version 1.3, 1997/01/15 23:43:23 | ||
---|---|---|---|
|
|
||
char *cptr, *p, *term, buf[1024], tbuf[1024]; | char *cptr, *p, *term, buf[1024], tbuf[1024]; | ||
term = NULL; | term = NULL; | ||
while ((ch = getopt(argc, argv, "T:")) != EOF) | while ((ch = getopt(argc, argv, "T:")) != -1) | ||
switch(ch) { | switch(ch) { | ||
case 'T': | case 'T': | ||
term = optarg; | term = optarg; |