Sync usage with man page. Bump version to 1.5. Closes PR 18345.

This commit is contained in:
wiz 2002-09-25 19:05:47 +00:00
parent 75f510b3c1
commit 04c0458652
3 changed files with 10 additions and 11 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.1.1.1 2002/03/01 01:32:13 mjl Exp $
# $NetBSD: Makefile,v 1.2 2002/09/25 19:05:47 wiz Exp $
DISTNAME= adjustkernel-1.4
DISTNAME= adjustkernel-1.5
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty

View file

@ -32,7 +32,7 @@ die "Invalid command line" unless GetOptions(
###########################################################################
die "Usage: $0 [-d] [-o outfile] -f kernel-config\n" unless $kernel;
die "Usage: $0 [-debug] [-mesg dmesg-file] [-outfile new-config]\n\t\t[-remove] -file kernel-config\n" unless $kernel;
$| = 1 if $debug;

View file

@ -1,26 +1,25 @@
.\" $Emsi: adjustkernel.1,v 1.1 2002/03/01 01:25:37 mjl Exp $
.\" $NetBSD: adjustkernel.1,v 1.2 2002/03/01 01:55:01 wiz Exp $
.\" $NetBSD: adjustkernel.1,v 1.3 2002/09/25 19:05:47 wiz Exp $
.\"
.Dd February 28, 2002
.Dd September 25, 2002
.Dt ADJUSTKERNEL 1
.Sh NAME
.Nm adjustkernel
.Nd generate kernel config from dmesg
.Sh SYNOPSIS
.Nm adjustkernel
.Op Fl outfile Ar new-config
.Op Fl mesg Ar dmesg-file
.Op Fl remove
.Op Fl debug
.Op Fl mesg Ar dmesg-file
.Op Fl outfile Ar new-config
.Op Fl remove
.Fl file Ar source-config
.Sh DESCRIPTION
.Nm
generates a new kernel configuration file from the
current dmesg output and the current kernel config file.
.Pp
The generation can be customized by using the following
options:
.Bl -tag -width Fl
The generation can be customized by using the following options:
.Bl -tag -width 22n -compact
.It Fl debug
be verbose and generate noise (mainly useful for debugging).
.It Fl file Ar source-config