diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-03-03 23:46:56 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-03-03 23:46:56 +0000 |
commit | 35c9fbff0123ea9fc48345484df79a96ae9a76e3 (patch) | |
tree | 722d4fcab3ff1f308b97c2aebeb1afc087bf50b6 | |
parent | ecffb122d021349931c8c1eb07df2f57bc6fa92a (diff) |
let synopsis, options description, and usage() agree;
from Igor Sobrado, tweaked by myself
-rw-r--r-- | usr.bin/ktrace/ktrace.1 | 4 | ||||
-rw-r--r-- | usr.bin/ktrace/ktrace.c | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/usr.bin/ktrace/ktrace.1 b/usr.bin/ktrace/ktrace.1 index 6eef5d9f7e4..ed9f232b8b9 100644 --- a/usr.bin/ktrace/ktrace.1 +++ b/usr.bin/ktrace/ktrace.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ktrace.1,v 1.16 2006/07/06 21:10:06 jmc Exp $ +.\" $OpenBSD: ktrace.1,v 1.17 2007/03/03 23:46:55 jmc Exp $ .\" .\" Copyright (c) 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -84,7 +84,7 @@ Clear the trace points associated with the specified file or processes. .It Fl d Descendants; perform the operation for all current children of the designated processes. -.It Fl f Ar file +.It Fl f Ar trfile Log trace records to .Ar file instead of diff --git a/usr.bin/ktrace/ktrace.c b/usr.bin/ktrace/ktrace.c index e2cba951541..78d5d84cdde 100644 --- a/usr.bin/ktrace/ktrace.c +++ b/usr.bin/ktrace/ktrace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ktrace.c,v 1.19 2005/12/21 01:40:24 millert Exp $ */ +/* $OpenBSD: ktrace.c,v 1.20 2007/03/03 23:46:55 jmc Exp $ */ /* $NetBSD: ktrace.c,v 1.4 1995/08/31 23:01:44 jtc Exp $ */ /*- @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)ktrace.c 8.2 (Berkeley) 4/28/95"; #endif -static char *rcsid = "$OpenBSD: ktrace.c,v 1.19 2005/12/21 01:40:24 millert Exp $"; +static char *rcsid = "$OpenBSD: ktrace.c,v 1.20 2007/03/03 23:46:55 jmc Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -188,7 +188,8 @@ static void usage(void) { (void)fprintf(stderr, -"usage:\tktrace [-aCcdi] [-f trfile] [-g pgid] [-p pid] [-t [ceinsw]]\n\tktrace [-adi] [-f trfile] [-t [ceinsw]] command\n"); + "usage: ktrace [-aCcdi] [-f trfile] [-g pgid] [-p pid] [-t trstr]\n" + " ktrace [-adi] [-f trfile] [-t trstr] command\n"); exit(1); } |