Add -f option to program's usage(), fix manpage's SYNOPSIS.
This commit is contained in:
parent
a3ec17db37
commit
5ef35a9854
@ -33,9 +33,8 @@
|
|||||||
.Nd "device state change daemon"
|
.Nd "device state change daemon"
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
.Op Fl Dd
|
.Op Fl Ddn
|
||||||
.Op Fl f Ar file
|
.Op Fl f Ar file
|
||||||
.Op Fl n
|
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
@ -43,7 +42,7 @@ daemon provides a way to have userland programs run when certain
|
|||||||
kernel events happen.
|
kernel events happen.
|
||||||
.Pp
|
.Pp
|
||||||
The following options are accepted.
|
The following options are accepted.
|
||||||
.Bl -tag -width indent-two
|
.Bl -tag -width ".Fl f Ar file"
|
||||||
.It Fl D
|
.It Fl D
|
||||||
Enable debugging messages.
|
Enable debugging messages.
|
||||||
.It Fl d
|
.It Fl d
|
||||||
|
@ -902,7 +902,7 @@ gensighand(int)
|
|||||||
static void
|
static void
|
||||||
usage()
|
usage()
|
||||||
{
|
{
|
||||||
fprintf(stderr, "usage: %s [-Ddn]\n", getprogname());
|
fprintf(stderr, "usage: %s [-Ddn] [-f file]\n", getprogname());
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user