summaryrefslogtreecommitdiff
path: root/usr.sbin/acpidump
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-08-08 14:40:20 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-08-08 14:40:20 +0000
commit88984e702c3cfae73edcc2d0038c48842c2fec96 (patch)
tree2151360a1f473360b692d7eff11139a6b301aaeb /usr.sbin/acpidump
parent20f12717cdf91fe1a3685fea5fcce3a2f9333978 (diff)
tweak previous; specifically, -o is no longer optional;
ok marco
Diffstat (limited to 'usr.sbin/acpidump')
-rw-r--r--usr.sbin/acpidump/acpidump.811
-rw-r--r--usr.sbin/acpidump/acpidump.c4
2 files changed, 9 insertions, 6 deletions
diff --git a/usr.sbin/acpidump/acpidump.8 b/usr.sbin/acpidump/acpidump.8
index b303b842feb..3a9034d43b7 100644
--- a/usr.sbin/acpidump/acpidump.8
+++ b/usr.sbin/acpidump/acpidump.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: acpidump.8,v 1.10 2010/08/05 17:30:28 marco Exp $
+.\" $OpenBSD: acpidump.8,v 1.11 2010/08/08 14:40:19 jmc Exp $
.\"
.\" Copyright (c) 1999 Doug Rabson <dfr@FreeBSD.org>
.\" Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org>
@@ -29,7 +29,7 @@
.\"
.\" $FreeBSD: src/usr.sbin/acpi/acpidump/acpidump.8,v 1.9 2001/09/05 19:21:25 dd Exp $
.\"
-.Dd $Mdocdate: August 5 2010 $
+.Dd $Mdocdate: August 8 2010 $
.Dt ACPIDUMP 8
.Os
.Sh NAME
@@ -37,9 +37,11 @@
.Nd dump ACPI tables
.Sh SYNOPSIS
.Nm
-.Op Fl o Ar prefix_for_output
+.Fl o Ar prefix_for_output
.Sh DESCRIPTION
-Store ACPI tables from physical memory into files specified by
+The
+.Nm
+command stores ACPI tables from physical memory into files specified by
.Ar prefix_for_output .
The files generated will
be of the form <prefix>.<sig>.<id>.
@@ -47,6 +49,7 @@ be of the form <prefix>.<sig>.<id>.
is the signature of the ACPI Table;
.Dq id
is unique for each table.
+.Pp
Additionally a file called <prefix>.headers will be created that contains
additional human readable information pertaining to this specific dump.
.Sh FILES
diff --git a/usr.sbin/acpidump/acpidump.c b/usr.sbin/acpidump/acpidump.c
index e8c73c1defb..58afa455f5b 100644
--- a/usr.sbin/acpidump/acpidump.c
+++ b/usr.sbin/acpidump/acpidump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpidump.c,v 1.6 2010/08/05 17:30:28 marco Exp $ */
+/* $OpenBSD: acpidump.c,v 1.7 2010/08/08 14:40:19 jmc Exp $ */
/*
* Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org>
* All rights reserved.
@@ -515,7 +515,7 @@ usage(void)
{
extern char *__progname;
- fprintf(stderr, "%s [-o prefix_for_output]\n", __progname);
+ fprintf(stderr, "%s -o prefix_for_output\n", __progname);
exit(1);
}