diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2008-07-08 21:39:53 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2008-07-08 21:39:53 +0000 |
commit | 2684860eb5fa64129404339f5cf1e0231b54e76f (patch) | |
tree | 6f263fdcb33d00994d6ba893ecc31bc736c31062 /usr.bin | |
parent | facb382d3ab80d4e9594a1bf805568ee5080aab5 (diff) |
sort options in manual page; display a better usage.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/pctr/pctr.1 | 10 | ||||
-rw-r--r-- | usr.bin/pctr/pctr.c | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/pctr/pctr.1 b/usr.bin/pctr/pctr.1 index 05e5b8fca44..3c5dea0faea 100644 --- a/usr.bin/pctr/pctr.1 +++ b/usr.bin/pctr/pctr.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pctr.1,v 1.12 2008/02/11 07:58:28 jmc Exp $ +.\" $OpenBSD: pctr.1,v 1.13 2008/07/08 21:39:52 sobrado Exp $ .\" .\" Copyright (c) 2007 Mike Belopuhov, Aleksey Lomovtsev .\" @@ -38,7 +38,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: February 11 2008 $ +.Dd $Mdocdate: July 8 2008 $ .Dt PCTR 1 .Os .Sh NAME @@ -103,6 +103,9 @@ processors only). Specifies a Unit Mask value for a function, specified by the .Fl f option. +.It Fl S +Enables counting shared cache coherency state (supported on Intel +processors only). .It Fl s Ar ctr Program counter number .Ar ctr @@ -113,9 +116,6 @@ A list of all possible functions supported on the current processor can be obtained by the .Fl l option output. -.It Fl S -Enables counting shared cache coherency state (supported on Intel -processors only). .It Fl t Ar thold Specifies an increment threshold. The counter diff --git a/usr.bin/pctr/pctr.c b/usr.bin/pctr/pctr.c index 108e7692540..017dc5dd92a 100644 --- a/usr.bin/pctr/pctr.c +++ b/usr.bin/pctr/pctr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pctr.c,v 1.19 2007/11/16 16:34:33 deraadt Exp $ */ +/* $OpenBSD: pctr.c,v 1.20 2008/07/08 21:39:52 sobrado Exp $ */ /* * Copyright (c) 2007 Mike Belopuhov, Aleksey Lomovtsev @@ -527,6 +527,6 @@ usage(void) break; } - fprintf(stderr, "%s: %s\n", __progname, usg); + fprintf(stderr, "usage: %s %s\n", __progname, usg); exit(1); } |