Add -f option to program's usage(), fix manpage's SYNOPSIS.

This commit is contained in:
Ruslan Ermilov 2006-09-17 22:49:26 +00:00
parent a3ec17db37
commit 5ef35a9854
2 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -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);
} }