diff options
author | Ceri Davies <ceri@FreeBSD.org> | 2021-07-01 13:00:06 +0000 |
---|---|---|
committer | Ceri Davies <ceri@FreeBSD.org> | 2021-07-01 13:02:00 +0000 |
commit | d93a2f5d675a3dfcc8176826fa5904b206fde30d (patch) | |
tree | 643cff8983785871daf01b05612c8f572b746fa2 /usr.bin | |
parent | db8d680ebe9b12c7d9e0eb8bf9940fcef709f5ec (diff) | |
download | src-d93a2f5d675a3dfcc8176826fa5904b206fde30d.tar.gz src-d93a2f5d675a3dfcc8176826fa5904b206fde30d.zip |
fortune: correct documentation of default FORTUNE_PATH.
While here, fix a typo in a comment relating to FORTUNE_PATH
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/fortune/fortune/fortune.6 | 4 | ||||
-rw-r--r-- | 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. */ |