Commit Graph

5 Commits

Author SHA1 Message Date
Giorgos Keramidas
6bf611a72d Make -c only set flag_c and not a toggle. With flag_c disabled by
default, this makes the behavior of gstat more predictable when -c is
specified multiple times on the command line.
2003-03-22 09:47:02 +00:00
Giorgos Keramidas
ab42be1fbf Add & use a usage() function. 2003-03-22 09:39:52 +00:00
Giorgos Keramidas
4fe8c1b67b Add error and range checking to strtoul() to avoid ending up with a
delay time of ULONG_MAX when -I is passed a non-numeric arg.
2003-03-22 09:23:29 +00:00
Giorgos Keramidas
dfb085cc35 Call endwin() to restore terminal state just before exiting.
Approved by:	phk
2003-03-21 09:34:23 +00:00
Poul-Henning Kamp
54a8adabd3 Add a rudimentary gstat(8) to the system.
This is a small curses based program which shows the diskactivity
inside GEOM.
2003-03-20 20:48:41 +00:00