summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat/pstat.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2007-04-03 08:16:06 +0000
committerru <ru@FreeBSD.org>2007-04-03 08:16:06 +0000
commit4d9aa21f99f173c315fe08419b861cbedcec4285 (patch)
tree309e21a97db417730f699616b700d0dc01fb1984 /usr.sbin/pstat/pstat.c
parent102a7dafdcfffb9b9803c6e23daa8c05e6946490 (diff)
downloadFreeBSD-src-4d9aa21f99f173c315fe08419b861cbedcec4285.zip
FreeBSD-src-4d9aa21f99f173c315fe08419b861cbedcec4285.tar.gz
- Recognize -g and -m in pstat(8) too.
- Document -g and -m support in swapinfo(8). Reviewed by: markm
Diffstat (limited to 'usr.sbin/pstat/pstat.c')
-rw-r--r--usr.sbin/pstat/pstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 35159b2..95f782c 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -125,8 +125,8 @@ main(int argc, char *argv[])
opts = "ghkmM:N:";
usagestr = "swapinfo [-ghkm] [-M core [-N system]]";
} else {
- opts = "TM:N:hfknst";
- usagestr = "pstat [-Tfhknst] [-M core [-N system]]";
+ opts = "TM:N:fghkmnst";
+ usagestr = "pstat [-Tfghkmnst] [-M core [-N system]]";
}
while ((ch = getopt(argc, argv, opts)) != -1)
OpenPOWER on IntegriCloud