add -W to specify window size.
various other little fixes.
This commit is contained in:
parent
3d72637f9b
commit
be36ff6885
36 changed files with 332 additions and 304 deletions
|
|
@ -1956,7 +1956,7 @@ void usage(void)
|
|||
int i;
|
||||
fprintf(stderr,"Usage %s [options] [infile]\n", argv0);
|
||||
fprintf(stderr,
|
||||
"option ::= -l logfile | -m\n"
|
||||
"option ::= -W winsize | -l logfile | -m\n"
|
||||
"\n"
|
||||
"Read a polygonal line graph in an ASCII format (one x y pair per line, delimited\n"
|
||||
"by spaces with a label after each polyline), and view it interactively. Use\n"
|
||||
|
|
@ -1981,6 +1981,9 @@ void main(int argc, char *argv[])
|
|||
break;
|
||||
case 'l': logfil = fopen(ARGF(),"w");
|
||||
break;
|
||||
case 'W':
|
||||
winsize = EARGF(usage());
|
||||
break;
|
||||
default: usage();
|
||||
} ARGEND
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue