From 7fe961ff485b09d260c547849b2780b97f190dcc Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sat, 9 Jun 2018 04:40:17 +0000 Subject: [PATCH] ncal: correct history section originally reported Todd C. Miller[0] Additional data see [1][2]. While here, pet igor. Closes #152 (github pr) Sbmitted by: Raf Czlonka [0] http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/cal/cal.1?rev=1.28&content-type=text/x-cvsweb-markup [1] https://www.bell-labs.com/usr/dmr/www/1stEdman.html [2] https://www.bell-labs.com/usr/dmr/www/man61.pdf --- usr.bin/ncal/ncal.1 | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/usr.bin/ncal/ncal.1 b/usr.bin/ncal/ncal.1 index 329db6d7687a..9a5e00a2e03a 100644 --- a/usr.bin/ncal/ncal.1 +++ b/usr.bin/ncal/ncal.1 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 14, 2009 +.Dd June 08, 2018 .Dt CAL 1 .Os .Sh NAME @@ -154,15 +154,18 @@ note the year must be fully specified: .Dq Li cal 89 will .Em not -display a calendar for 1989. Two parameters denote the month and +display a calendar for 1989. +Two parameters denote the month and year; the month is either a number between 1 and 12, or a full or -abbreviated name as specified by the current locale. Month and +abbreviated name as specified by the current locale. +Month and year default to those of the current system clock and time zone (so .Dq Li cal -m 8 will display a calendar for the month of August in the current year). .Pp -Not all options can be used together. For example +Not all options can be used together. +For example .Dq Li -3 -A 2 -B 3 -y -m 7 would mean: show me the three months around the seventh month, three before @@ -180,7 +183,7 @@ Highlighting of dates is disabled if stdout is not a tty. A .Nm command appeared in -.At v5 . +.At v1 . The .Nm ncal command appeared in