summaryrefslogtreecommitdiffstats
path: root/sbin/devd
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-09-17 22:49:26 +0000
committerru <ru@FreeBSD.org>2006-09-17 22:49:26 +0000
commit46470485d3612bdbd08ede95758caaecc5521e39 (patch)
treed9da5097487a94647b1de23c3dde255b3dc0cd58 /sbin/devd
parent18a5062f98148f7cc152e3f8d31485d7e297bc02 (diff)
downloadFreeBSD-src-46470485d3612bdbd08ede95758caaecc5521e39.zip
FreeBSD-src-46470485d3612bdbd08ede95758caaecc5521e39.tar.gz
Add -f option to program's usage(), fix manpage's SYNOPSIS.
Diffstat (limited to 'sbin/devd')
-rw-r--r--sbin/devd/devd.85
-rw-r--r--sbin/devd/devd.cc2
2 files changed, 3 insertions, 4 deletions
diff --git a/sbin/devd/devd.8 b/sbin/devd/devd.8
index 494995e..7377e25 100644
--- a/sbin/devd/devd.8
+++ b/sbin/devd/devd.8
@@ -33,9 +33,8 @@
.Nd "device state change daemon"
.Sh SYNOPSIS
.Nm
-.Op Fl Dd
+.Op Fl Ddn
.Op Fl f Ar file
-.Op Fl n
.Sh DESCRIPTION
The
.Nm
@@ -43,7 +42,7 @@ daemon provides a way to have userland programs run when certain
kernel events happen.
.Pp
The following options are accepted.
-.Bl -tag -width indent-two
+.Bl -tag -width ".Fl f Ar file"
.It Fl D
Enable debugging messages.
.It Fl d
diff --git a/sbin/devd/devd.cc b/sbin/devd/devd.cc
index 5856874..c6ac80c 100644
--- a/sbin/devd/devd.cc
+++ b/sbin/devd/devd.cc
@@ -902,7 +902,7 @@ gensighand(int)
static void
usage()
{
- fprintf(stderr, "usage: %s [-Ddn]\n", getprogname());
+ fprintf(stderr, "usage: %s [-Ddn] [-f file]\n", getprogname());
exit(1);
}
OpenPOWER on IntegriCloud