Fix a small error in cal(1) manpage

The current implementation doesn't implement the day-variable.
This commit is contained in:
FRIGN 2015-01-16 22:46:37 +01:00 committed by sin
parent b375bc99bd
commit 40bbe91c9e
2 changed files with 2 additions and 4 deletions

4
cal.1
View File

@ -8,7 +8,7 @@
.Op Fl 1 | Fl 3 | Fl y | Fl n Ar nmonths .Op Fl 1 | Fl 3 | Fl y | Fl n Ar nmonths
.Op Fl s | Fl m | Fl f Ar firstday .Op Fl s | Fl m | Fl f Ar firstday
.Op Fl c Ar columns .Op Fl c Ar columns
.Oo Oo Oo Ar day Oc Ar month Oc Ar year Oc .Oo Oo Ar month Oc Ar year Oc
.Sh DESCRIPTION .Sh DESCRIPTION
Print Print
.Ar nmonths .Ar nmonths
@ -53,6 +53,4 @@ specification.
.Pp .Pp
The flags The flags
.Op Fl 13ynsmfc .Op Fl 13ynsmfc
and
.Op Ar day
are an extension to that specification. are an extension to that specification.

2
cal.c
View File

@ -130,7 +130,7 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-1 | -3 | -y | -n nmonths] " eprintf("usage: %s [-1 | -3 | -y | -n nmonths] "
"[-s | -m | -f firstday] [-c columns] [[[day] month] year]\n", argv0); "[-s | -m | -f firstday] [-c columns] [[month] year]\n", argv0);
} }
int int