Document ISO format "cal 2007-12", leave "cal 2007/12" undocumented

intentionally.
This commit is contained in:
joerg 2007-12-21 14:21:42 +00:00
parent bfdff00bed
commit 3fca1a6505
1 changed files with 7 additions and 9 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: cal.1,v 1.18 2003/08/07 11:13:13 agc Exp $
.\" $NetBSD: cal.1,v 1.19 2007/12/21 14:21:42 joerg Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@ -32,7 +32,7 @@
.\"
.\" @(#)cal.1 8.2 (Berkeley) 4/28/95
.\"
.Dd July 23, 2003
.Dd December 21, 2007
.Dt CAL 1
.Os
.Sh NAME
@ -105,15 +105,13 @@ Same as
.Dq Fl A Ar 1 Fl B Ar 1 .
.El
.Pp
A single parameter specifies the year (1 - 9999) to be displayed;
note the year must be fully specified:
.Dq Li cal 89
will
.Em not
display a calendar for 1989.
Two parameters denote the month (1 - 12) and year.
If no parameters are specified, the current month's calendar is
displayed.
A single parameter specifies the year and optionally the month
in ISO format:
.Dq Li cal 2007-12
Two parameters denote the month (1 - 12) and year.
Note that the century must be included in the year.
.Pp
A year starts on Jan 1.
.Sh NOTES