From 76462499eb79237a73567e537bc0b59cb46dc5a1 Mon Sep 17 00:00:00 2001 From: Mikolaj Golub Date: Mon, 4 Jun 2012 09:25:01 +0000 Subject: [PATCH] Document -r option in SYNOPSIS and usage statement. Submitted by: Andrey Zonov MFC after: 3 days --- usr.sbin/daemon/daemon.8 | 4 ++-- usr.sbin/daemon/daemon.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/daemon/daemon.8 b/usr.sbin/daemon/daemon.8 index 2f9cb6b761db..14b134af6638 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 cef2e087333a..7c8e9feeba71 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); }