diff options
| author | joerg <joerg@NetBSD.org> | 2007-12-21 14:21:42 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2007-12-21 14:21:42 +0000 |
| commit | 3fca1a65052dbf02cf920c8311211896f4c5b30c (patch) | |
| tree | 67ff4c05333c1b42c21a193447e4d245050f8d16 /usr.bin/cal | |
| parent | bfdff00bed7d65533f9c70a9ec8313234339d426 (diff) | |
Document ISO format "cal 2007-12", leave "cal 2007/12" undocumented
intentionally.
Diffstat (limited to 'usr.bin/cal')
| -rw-r--r-- | usr.bin/cal/cal.1 | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/usr.bin/cal/cal.1 b/usr.bin/cal/cal.1 index 9100d0c1af9..0f3e6d3b3d0 100644 --- a/usr.bin/cal/cal.1 +++ b/usr.bin/cal/cal.1 @@ -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 |
