summaryrefslogtreecommitdiff
path: root/sys/man/1
diff options
context:
space:
mode:
authorSigrid <ftrvxmtrx@gmail.com>2021-01-12 13:23:37 +0100
committerSigrid <ftrvxmtrx@gmail.com>2021-01-12 13:23:37 +0100
commit806f97a47b461a8389d91b29f5cd5345774f84b0 (patch)
tree70054ec068787acc0d18258edb7c9c9bd210a168 /sys/man/1
parent6103d6ed2cff0be93d00a0a774b1c6ebb7071831 (diff)
cal: add -s option to specify the starting day of the week
Diffstat (limited to 'sys/man/1')
-rw-r--r--sys/man/1/cal15
1 files changed, 13 insertions, 2 deletions
diff --git a/sys/man/1/cal b/sys/man/1/cal
index a821f1e5c..b3b47da7c 100644
--- a/sys/man/1/cal
+++ b/sys/man/1/cal
@@ -4,9 +4,11 @@ cal \- print calendar
.SH SYNOPSIS
.B cal
[
+.B -s
+.I 1..7
+] [
.I month
-]
-[
+] [
.I year
]
.SH DESCRIPTION
@@ -30,6 +32,15 @@ otherwise a calendar for just one month is printed.
The calendar
produced is that for England and her colonies.
.PP
+.B -s
+.I N
+makes
+.I cal
+display
+.I N,
+specified as a number between 1 to 7 (Monday to Sunday), as the
+first day of the week. The default is Sunday.
+.PP
Try
.EX
cal sep 1752