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
|
|
@ -332,7 +332,7 @@ update1(Graph *g, long v, ulong vmax)
|
|||
void
|
||||
usage(void)
|
||||
{
|
||||
fprint(2, "usage: stats [-O] [-S scale] [-LY] [-%s] [machine...]\n", argchars);
|
||||
fprint(2, "usage: stats [-O] [-S scale] [-LY] [-W winsize] [-%s] [machine...]\n", argchars);
|
||||
exits("usage");
|
||||
}
|
||||
|
||||
|
|
@ -710,6 +710,9 @@ threadmain(int argc, char *argv[])
|
|||
case 'O':
|
||||
oldsystem = 1;
|
||||
break;
|
||||
case 'W':
|
||||
winsize = EARGF(usage());
|
||||
break;
|
||||
default:
|
||||
if(nargs>=sizeof args || strchr(argchars, ARGC())==nil)
|
||||
usage();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue