summaryrefslogtreecommitdiff
path: root/usr.bin/cal/cal.1
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2008-04-10 15:07:05 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2008-04-10 15:07:05 +0000
commit4829ef2cd36463eb34bb2ada75bd852f8df8b1e1 (patch)
tree4434d7402774cf195fb0fb3e118bd93904299f36 /usr.bin/cal/cal.1
parentcdc3faf39f24fa825b21ededc134a49ab7c641ea (diff)
Introduce the -m flag which shows weeks as starting on mondays.
input from tom@ through markus@ ok henning@, mbalmer@ and jmc@
Diffstat (limited to 'usr.bin/cal/cal.1')
-rw-r--r--usr.bin/cal/cal.110
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/cal/cal.1 b/usr.bin/cal/cal.1
index 474b332daa8..63b74d346ff 100644
--- a/usr.bin/cal/cal.1
+++ b/usr.bin/cal/cal.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cal.1,v 1.17 2007/05/31 19:20:08 jmc Exp $
+.\" $OpenBSD: cal.1,v 1.18 2008/04/10 15:07:04 pyr Exp $
.\" $NetBSD: cal.1,v 1.6 1995/09/02 05:34:20 jtc Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
@@ -33,7 +33,7 @@
.\"
.\" @(#)cal.1 8.2 (Berkeley) 4/28/95
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: April 10 2008 $
.Dt CAL 1
.Os
.Sh NAME
@@ -41,7 +41,7 @@
.Nd displays a calendar
.Sh SYNOPSIS
.Nm cal
-.Op Fl jy
+.Op Fl jmy
.Op Ar month
.Op Ar year
.Sh DESCRIPTION
@@ -53,6 +53,8 @@ The options are as follows:
.Bl -tag -width Ds
.It Fl j
Display Julian dates (days one-based, numbered from January 1).
+.It Fl m
+Display weeks starting on Monday instead of Sunday.
.It Fl y
Display a calendar for the current year.
.El
@@ -96,7 +98,7 @@ utility is compliant with the
specification.
.Pp
The flags
-.Op Fl jy
+.Op Fl jmy
are extensions to that specification.
.Sh HISTORY
A