Date: Thu, 1 Jul 2021 13:13:00 GMT From: Ceri Davies <ceri@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: d93a2f5d675a - main - fortune: correct documentation of default FORTUNE_PATH. Message-ID: <202107011313.161DD0Uo081111@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by ceri (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=d93a2f5d675a3dfcc8176826fa5904b206fde30d commit d93a2f5d675a3dfcc8176826fa5904b206fde30d Author: Ceri Davies <ceri@FreeBSD.org> AuthorDate: 2021-07-01 13:00:06 +0000 Commit: Ceri Davies <ceri@FreeBSD.org> CommitDate: 2021-07-01 13:02:00 +0000 fortune: correct documentation of default FORTUNE_PATH. While here, fix a typo in a comment relating to FORTUNE_PATH --- usr.bin/fortune/fortune/fortune.6 | 4 ++-- usr.bin/fortune/fortune/fortune.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/fortune/fortune/fortune.6 b/usr.bin/fortune/fortune/fortune.6 index 2660cf8bf20c..c04d5838941a 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 January 3, 2021 +.Dd July 1, 2021 .Dt FORTUNE 6 .Os .Sh NAME @@ -168,7 +168,7 @@ It is a colon-separated list of directories in which .Nm looks for data files. If not set it will default to -.Pa /usr/share/games/fortune . +.Pa /usr/share/games/fortune:/usr/local/share/games/fortune . If none of the directories specified exist, it will print a warning and exit. .It Ev FORTUNE_SAVESTATE If set, fortune will save some state about what fortune diff --git a/usr.bin/fortune/fortune/fortune.c b/usr.bin/fortune/fortune/fortune.c index 724fb4a2372e..f375ec645ede 100644 --- a/usr.bin/fortune/fortune/fortune.c +++ b/usr.bin/fortune/fortune/fortune.c @@ -1380,7 +1380,7 @@ usage(void) /* * getpath - * Set up file search patch from environment var FORTUNE_PATH; + * Set up file search path from environment var FORTUNE_PATH; * if not set, use the compiled in FORTDIR. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107011313.161DD0Uo081111>