summaryrefslogtreecommitdiffstats
path: root/usr.sbin/acpidump
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2010-08-08 14:40:19 +0000
committerjmc <jmc@openbsd.org>2010-08-08 14:40:19 +0000
commit11cbb70c6a6cb3092b71c5e39a08c1869ef23ca4 (patch)
treea2f5fbf804b81b3cac78408c41013c6a3c9051c9 /usr.sbin/acpidump
parentReenable acpiasus(4). The bogus code is actually dead code, and jsing@'s (diff)
downloadwireguard-openbsd-11cbb70c6a6cb3092b71c5e39a08c1869ef23ca4.tar.xz
wireguard-openbsd-11cbb70c6a6cb3092b71c5e39a08c1869ef23ca4.zip
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);
}