summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2006-05-11 12:26:43 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2006-05-11 12:26:43 +0000
commit7e04b556d318d864fb3720246aa548fbb6fc6171 (patch)
treedbb1c7836604266a3c25de5c62a388d395f4d8d7 /usr.bin
parent6003f9c19f469cd7eb74a1ab3f4f300bd1df7fb2 (diff)
- add -X and -x to SYNOPSIS
- sort options - new sentence, new line - sync usage()
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/kdump/kdump.112
-rw-r--r--usr.bin/kdump/kdump.c6
2 files changed, 10 insertions, 8 deletions
diff --git a/usr.bin/kdump/kdump.1 b/usr.bin/kdump/kdump.1
index f651d4dcc20..5ff6b914d43 100644
--- a/usr.bin/kdump/kdump.1
+++ b/usr.bin/kdump/kdump.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kdump.1,v 1.13 2006/05/11 06:49:00 tedu Exp $
+.\" $OpenBSD: kdump.1,v 1.14 2006/05/11 12:26:42 jmc Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -38,7 +38,7 @@
.Sh SYNOPSIS
.Nm kdump
.Bk -words
-.Op Fl dnlRT
+.Op Fl dnlRTXx
.Op Fl e Ar emulation
.Op Fl f Ar file
.Op Fl m Ar maxdata
@@ -99,15 +99,17 @@ Display relative timestamps (time since previous entry).
.It Fl T
Display absolute timestamps for each entry (seconds since epoch).
.It Fl t Op ceinsw
-Selects which tracepoints to display. See the
+Selects which tracepoints to display.
+See the
.Fl t
option of
.Xr ktrace 1
for the definitions of the flags.
+.It Fl X
+Display I/O data with hexadecimal data and printable ASCII characters
+side by side.
.It Fl x
Display I/O data in hexadecimal.
-.It Fl X
-Display I/O data with hexadecimal data and printable ASCII characters side by side.
.El
.Sh FILES
.Bl -tag -width ktrace.out -compact
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index f1e1a816177..eb73808b710 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kdump.c,v 1.35 2006/05/11 07:24:03 tedu Exp $ */
+/* $OpenBSD: kdump.c,v 1.36 2006/05/11 12:26:42 jmc Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -39,7 +39,7 @@ static const char copyright[] =
#if 0
static char sccsid[] = "@(#)kdump.c 8.4 (Berkeley) 4/28/95";
#endif
-static const char rcsid[] = "$OpenBSD: kdump.c,v 1.35 2006/05/11 07:24:03 tedu Exp $";
+static const char rcsid[] = "$OpenBSD: kdump.c,v 1.36 2006/05/11 12:26:42 jmc Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -656,7 +656,7 @@ usage(void)
extern char *__progname;
fprintf(stderr, "usage: %s "
- "[-dnlRTxX] [-e emulation] [-p pid] [-f trfile] [-m maxdata] "
+ "[-dnlRTXx] [-e emulation] [-p pid] [-f trfile] [-m maxdata] "
"[-t [ceinsw]]\n", __progname);
exit(1);
}