[hackers] [sbase] Fix a small error in cal(1) manpage || FRIGN
commit 40bbe91c9ec4b5ff98ba8c96fb5d31fb24ca2f7b
Author: FRIGN <dev_AT_frign.de>
Date: Fri Jan 16 22:46:37 2015 +0100
Fix a small error in cal(1) manpage
The current implementation doesn't implement the day-variable.
diff --git a/cal.1 b/cal.1
index 34bbb07..55ccc55 100644
--- a/cal.1
+++ b/cal.1
_AT_@ -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
_AT_@ -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
index 6e4784d..8a43452 100644
--- a/cal.c
+++ b/cal.c
_AT_@ -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
Received on Fri Jan 16 2015 - 22:48:58 CET
This archive was generated by hypermail 2.3.0
: Fri Jan 16 2015 - 23:00:11 CET