summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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