Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2021 22:52:41 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: c949ba1d202c - main - fortune(6): Add EXIT STATUS and HISTORY sections
Message-ID:  <202101032252.103MqfqX071255@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=c949ba1d202c6e939e71f1cb555958b8de3dd048

commit c949ba1d202c6e939e71f1cb555958b8de3dd048
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2021-01-03 22:50:18 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2021-01-03 22:51:39 +0000

    fortune(6): Add EXIT STATUS and HISTORY sections
    
    Obtained from:  OpenBSD
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D27941
---
 usr.bin/fortune/fortune/fortune.6 | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/usr.bin/fortune/fortune/fortune.6 b/usr.bin/fortune/fortune/fortune.6
index bc6e26e182a0..2660cf8bf20c 100644
--- a/usr.bin/fortune/fortune/fortune.6
+++ b/usr.bin/fortune/fortune/fortune.6
@@ -31,7 +31,7 @@
 .\"	@(#)fortune.6	8.3 (Berkeley) 4/19/94
 .\" $FreeBSD$
 .\"
-.Dd November 7, 2007
+.Dd January 3, 2021
 .Dt FORTUNE 6
 .Os
 .Sh NAME
@@ -183,8 +183,22 @@ contain the
 .Sy offensive
 fortunes)
 .El
+.Sh EXIT STATUS
+.Ex -std
+In particular, if
+.Fl l ,
+.Fl m ,
+or
+.Fl s
+is specified, failure to find a matching citation in the selected
+files counts as an error.
 .Sh SEE ALSO
 .Xr arc4random_uniform 3 ,
 .Xr regcomp 3 ,
 .Xr regex 3 ,
 .Xr strfile 8
+.Sh HISTORY
+The
+.Nm
+utility first appeared
+.At v7 .



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101032252.103MqfqX071255>