diff options
author | edwin <edwin@FreeBSD.org> | 2010-03-04 07:04:27 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2010-03-04 07:04:27 +0000 |
commit | e27eb9f6a0aff664660b10be9005a25b7a0feadf (patch) | |
tree | 64440b1c5d2d0b47c76ec700a376db22755a4eb6 /usr.bin/ncal/ncal.1 | |
parent | 7b5f0f426a51241b68b9089fba691449fa5963a8 (diff) | |
download | FreeBSD-src-e27eb9f6a0aff664660b10be9005a25b7a0feadf.zip FreeBSD-src-e27eb9f6a0aff664660b10be9005a25b7a0feadf.tar.gz |
- Implement -3 option (show previous, this and next month) option.
- Add -A option (months after this month).
- Add -B option (months before this month).
- Fix highlighting of today in year overview.
- Fix aligning of "foreign" characters.
MFC after: 2 weeks
Diffstat (limited to 'usr.bin/ncal/ncal.1')
-rw-r--r-- | usr.bin/ncal/ncal.1 | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/usr.bin/ncal/ncal.1 b/usr.bin/ncal/ncal.1 index 1c93a84..0b631f3 100644 --- a/usr.bin/ncal/ncal.1 +++ b/usr.bin/ncal/ncal.1 @@ -109,6 +109,22 @@ Britain and her colonies switched to the Gregorian Calendar. Print the number of the week below each week column. .It Fl y Display a calendar for the specified year. +.It Fl b +Switch to backwards compatibility mode (for debugging). +.It Fl d Ar yyyy-mm-dd +Use +.Ar yyyy-mm-dd +as the current date (for debugging of highlighting). +.It Fl 3 +Display the previous, current and next month surrounding today. +.It Fl A Ar number +Display the +.Ar number +of months after the current month. +.It Fl B Ar number +Display the +.Ar number +of months before the current month. .El .Pp A single parameter specifies the year (1\(en9999) to be displayed; @@ -116,12 +132,13 @@ 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 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 year default to those of the current system clock and time zone (so +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 +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). +will display a calendar for the month of August in the current +year). .Pp A year starts on January 1. .Sh SEE ALSO @@ -142,5 +159,5 @@ The command and manual were written by .An Wolfgang Helbig Aq helbig@FreeBSD.org . .Sh BUGS -The assignment of Julian\(enGregorian switching dates to -country codes is historically naive for many countries. +The assignment of Julian\(enGregorian switching dates to country +codes is historically naive for many countries. |