diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2007-04-03 08:16:06 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2007-04-03 08:16:06 +0000 |
commit | ae35e8ad884a219fc35479c6b9321c0f3447c3e8 (patch) | |
tree | 309e21a97db417730f699616b700d0dc01fb1984 /usr.sbin/pstat | |
parent | bf75b79b297921214e05ba53e842afba03a1ab2e (diff) | |
download | src-test2-ae35e8ad884a219fc35479c6b9321c0f3447c3e8.tar.gz src-test2-ae35e8ad884a219fc35479c6b9321c0f3447c3e8.zip |
Notes
Diffstat (limited to 'usr.sbin/pstat')
-rw-r--r-- | usr.sbin/pstat/pstat.8 | 8 | ||||
-rw-r--r-- | usr.sbin/pstat/pstat.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/pstat/pstat.8 b/usr.sbin/pstat/pstat.8 index 5e8f72f0056e..3dd67a6b9048 100644 --- a/usr.sbin/pstat/pstat.8 +++ b/usr.sbin/pstat/pstat.8 @@ -35,7 +35,7 @@ .\" @(#)pstat.8 8.5 (Berkeley) 5/13/94 .\" $FreeBSD$ .\" -.Dd March 21, 2005 +.Dd April 1, 2007 .Dt PSTAT 8 .Os .Sh NAME @@ -44,10 +44,10 @@ .Nd display system data structures .Sh SYNOPSIS .Nm -.Op Fl Tfhknst +.Op Fl Tfghkmnst .Op Fl M Ar core Op Fl N Ar system .Nm swapinfo -.Op Fl hk +.Op Fl ghkm .Op Fl M Ar core Op Fl N Ar system .Sh DESCRIPTION The @@ -60,7 +60,7 @@ If invoked as the .Fl s option is implied, and only the -.Fl [kmg] +.Fl k , m , g , and .Fl h options are legal. diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index 35159b2baef4..95f782c4e0cd 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) |