sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 40bbe91c9ec4b5ff98ba8c96fb5d31fb24ca2f7b
parent b375bc99bdf0f5532f076d924b2d757b545e3cac
Author: FRIGN <dev@frign.de>
Date:   Fri, 16 Jan 2015 22:46:37 +0100

Fix a small error in cal(1) manpage

The current implementation doesn't implement the day-variable.

Diffstat:
Mcal.1 | 4+---
Mcal.c | 2+-
2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/cal.1 b/cal.1 @@ -8,7 +8,7 @@ .Op Fl 1 | Fl 3 | Fl y | Fl n Ar nmonths .Op Fl s | Fl m | Fl f Ar firstday .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 Print .Ar nmonths @@ -53,6 +53,4 @@ specification. .Pp The flags .Op Fl 13ynsmfc -and -.Op Ar day are an extension to that specification. diff --git a/cal.c b/cal.c @@ -130,7 +130,7 @@ static void usage(void) { 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