From 46470485d3612bdbd08ede95758caaecc5521e39 Mon Sep 17 00:00:00 2001 From: ru Date: Sun, 17 Sep 2006 22:49:26 +0000 Subject: Add -f option to program's usage(), fix manpage's SYNOPSIS. --- sbin/devd/devd.8 | 5 ++--- sbin/devd/devd.cc | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'sbin/devd') 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); } -- cgit v1.1