cal changed to print current month with no arguments
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Fri, 29 May 1987 12:06:09 +0000 (04:06 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Fri, 29 May 1987 12:06:09 +0000 (04:06 -0800)
SCCS-vsn: usr.bin/cal/cal.1 6.2

usr/src/usr.bin/cal/cal.1

index 9890dd7..618ec35 100644 (file)
@@ -1,4 +1,4 @@
-.\"    @(#)cal.1       6.1 (Berkeley) %G%
+.\"    @(#)cal.1       6.2 (Berkeley) %G%
 .\"
 .TH CAL 1 ""
 .AT 3
 .\"
 .TH CAL 1 ""
 .AT 3
@@ -6,12 +6,14 @@
 cal \- print calendar
 .SH SYNOPSIS
 .B cal
 cal \- print calendar
 .SH SYNOPSIS
 .B cal
-[ month ] year
+[ month ] [ year ]
 .SH DESCRIPTION
 .I Cal
 prints a calendar for the specified year.
 If a month is also specified, a calendar
 just for that month is printed.
 .SH DESCRIPTION
 .I Cal
 prints a calendar for the specified year.
 If a month is also specified, a calendar
 just for that month is printed.
+If no arguments are given, a calendar for
+the current month is printed.
 .I Year
 can be between 1
 and 9999.
 .I Year
 can be between 1
 and 9999.