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
|
|
@ -258,7 +258,7 @@ Bgeticon(Biobuf *b, Icon *icon)
|
|||
void
|
||||
usage(void)
|
||||
{
|
||||
fprint(2, "usage: %s [file]\n", argv0);
|
||||
fprint(2, "usage: %s -W winsize [file]\n", argv0);
|
||||
exits("usage");
|
||||
}
|
||||
|
||||
|
|
@ -444,6 +444,9 @@ main(int argc, char **argv)
|
|||
Event e;
|
||||
|
||||
ARGBEGIN{
|
||||
case 'W':
|
||||
winsize = EARGF(usage());
|
||||
break;
|
||||
case 'd':
|
||||
debug = 1;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue