Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 1997 00:15:45 +0900
From:      k-horik@yk.rim.or.jp
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   docs/3680: manapge cal.1's SYNOPSIS is incorrect.
Message-ID:  <199705251516.AAA03647@mail.yk.rim.or.jp>
Resent-Message-ID: <199705251520.IAA25472@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3680
>Category:       docs
>Synopsis:       manpage cal.1's SYNOPSIS is incorrect.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 25 08:20:00 PDT 1997
>Last-Modified:
>Originator:     Kazuo Horikawa
>Organization:
<Organization of PR author (multiple lines)>
>Release:        FreeBSD 2.2.1-RELEASE i386
>Environment:

.\"     @(#)cal.1       8.1 (Berkeley) 6/6/93

>Description:
 Cal's synopsis is shown as:
	cal [-jy] [month [year]]

 It should be:
	cal [-jy] [[month] year]

 `cal 7' shows the calendar for 7 not for July.

>How-To-Repeat:

	<Code/input/activities to reproduce the problem (multiple lines)>

>Fix:
--- cal.1.bak Fri May 16 23:55:33 1997
+++ cal.1       Sat May 17 22:17:52 1997
@@ -43,7 +43,10 @@
 .Sh SYNOPSIS
 .Nm cal
 .Op Fl jy
-.Op Ar month Op Ar year
+.Oo
+.Op Cm Ar month
+.Ar year
+.Oc
 .Sh DESCRIPTION
 .Nm Cal
 displays a simple calendar.
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705251516.AAA03647>