summaryrefslogtreecommitdiff
path: root/usr.bin/calendar
diff options
context:
space:
mode:
authorGreg Lehey <grog@FreeBSD.org>2020-09-29 05:49:45 +0000
committerGreg Lehey <grog@FreeBSD.org>2020-09-29 05:49:45 +0000
commit314c5b3583aa0761fdbe1af89dcd00d46796838e (patch)
treed9eaa6781c94b654eedfe19ab0bb1c0fa7839b5e /usr.bin/calendar
parenta9f476580eb05efc1637bf7c9eb9602e1592d50f (diff)
downloadsrc-test2-314c5b3583aa0761fdbe1af89dcd00d46796838e.tar.gz
src-test2-314c5b3583aa0761fdbe1af89dcd00d46796838e.zip
Notes
Diffstat (limited to 'usr.bin/calendar')
-rw-r--r--usr.bin/calendar/calendar.119
1 files changed, 17 insertions, 2 deletions
diff --git a/usr.bin/calendar/calendar.1 b/usr.bin/calendar/calendar.1
index f90903bc936f..e323a3986b9c 100644
--- a/usr.bin/calendar/calendar.1
+++ b/usr.bin/calendar/calendar.1
@@ -70,9 +70,24 @@ Print lines from today and the next
.Ar num
days (forward, future).
.It Fl a
-Process the ``calendar'' files of all users and mail the results
+Process the ``calendar'' files for users found in
+.Pa /etc/passwd
+and mail the results
to them.
-This requires super-user privileges.
+This can result in multiple messages for specific files, since
+.Pa /etc/passwd
+does not require home directories to be unique.
+In particular, by default
+.Ar root ,
+.Ar toor
+and
+.Ar daemon
+share the same home directory.
+If this directory contains calendar information,
+.Nm
+will process the file three times.
+.Pp
+This option requires super-user privileges.
.It Fl B Ar num
Print lines from today and the previous
.Ar num