Bug 49607

Summary: Man page for cal command (/usr/bin/cal) is incorrect
Product: [Retired] Red Hat Linux Reporter: Wayne Pollock <pollock>
Component: util-linuxAssignee: Elliot Lee <sopwith>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-07-21 15:16:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Wayne Pollock 2001-07-21 15:15:58 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (Win98; U)

Description of problem:
The man page synopsis for cal shows (and has since 6.1 at least) as:
cal [-mjy] [month [year]]
This is incorrect, it should be:
cal [-mjy] [[month] year]


How reproducible:
Always

Steps to Reproduce:
1.man cal
2.cal 2000
3.cal 12
	
The man page reports that cal can be run with a month alone, or month and year as arguments.  Cal
actually allows a year alone, or month and year.  This can be seen by running the commands above.

Actual Results:  Got bad man page.

Expected Results:  Get good man page.

Additional info:

Comment 1 Elliot Lee 2001-07-23 22:44:14 UTC
Already appears to be fixed in rawhide.