Fix a small error in cal(1) manpage
The current implementation doesn't implement the day-variable.
This commit is contained in:
parent
b375bc99bd
commit
40bbe91c9e
4
cal.1
4
cal.1
@ -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
2
cal.c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user