summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authortrociny <trociny@FreeBSD.org>2012-06-04 09:25:01 +0000
committertrociny <trociny@FreeBSD.org>2012-06-04 09:25:01 +0000
commit3092b09c7795e1eb180d5da4adb6cbcf03a7556c (patch)
tree6d433fec5f3fe7b59dffb27c9f614c9c3185a93d /usr.sbin
parent1300b8151a020d9fe459a88b4d4ee9c6f46e95cb (diff)
downloadFreeBSD-src-3092b09c7795e1eb180d5da4adb6cbcf03a7556c.zip
FreeBSD-src-3092b09c7795e1eb180d5da4adb6cbcf03a7556c.tar.gz
Document -r option in SYNOPSIS and usage statement.
Submitted by: Andrey Zonov <andrey zonov.org> MFC after: 3 days
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/daemon/daemon.84
-rw-r--r--usr.sbin/daemon/daemon.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/daemon/daemon.8 b/usr.sbin/daemon/daemon.8
index 2f9cb6b..14b134a 100644
--- a/usr.sbin/daemon/daemon.8
+++ b/usr.sbin/daemon/daemon.8
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 19, 2012
+.Dd June 4, 2012
.Dt DAEMON 8
.Os
.Sh NAME
@@ -34,7 +34,7 @@
.Nd run detached from the controlling terminal
.Sh SYNOPSIS
.Nm
-.Op Fl cf
+.Op Fl cfr
.Op Fl p Ar pidfile
.Op Fl u Ar user
.Ar command arguments ...
diff --git a/usr.sbin/daemon/daemon.c b/usr.sbin/daemon/daemon.c
index cef2e08..7c8e9fe 100644
--- a/usr.sbin/daemon/daemon.c
+++ b/usr.sbin/daemon/daemon.c
@@ -240,7 +240,7 @@ static void
usage(void)
{
(void)fprintf(stderr,
- "usage: daemon [-cf] [-p pidfile] [-u user] command "
+ "usage: daemon [-cfr] [-p pidfile] [-u user] command "
"arguments ...\n");
exit(1);
}
OpenPOWER on IntegriCloud