From 11cbb70c6a6cb3092b71c5e39a08c1869ef23ca4 Mon Sep 17 00:00:00 2001 From: jmc Date: Sun, 8 Aug 2010 14:40:19 +0000 Subject: tweak previous; specifically, -o is no longer optional; ok marco --- usr.sbin/acpidump/acpidump.8 | 11 +++++++---- usr.sbin/acpidump/acpidump.c | 4 ++-- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'usr.sbin/acpidump') 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 .\" Copyright (c) 2000 Mitsuru IWASAKI @@ -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 ... @@ -47,6 +49,7 @@ be of the form ... is the signature of the ACPI Table; .Dq id is unique for each table. +.Pp Additionally a file called .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 * 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); } -- cgit v1.2.3-59-g8ed1b