Bug 49607 - Man page for cal command (/usr/bin/cal) is incorrect
Summary: Man page for cal command (/usr/bin/cal) is incorrect
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: util-linux
Version: 7.1
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Elliot Lee
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-07-21 15:15 UTC by Wayne Pollock
Modified: 2007-04-18 16:34 UTC (History)
0 users

Clone Of:
Last Closed: 2001-07-21 15:16:01 UTC

Attachments (Terms of Use)

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:

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.

Note You need to log in before you can comment on or make changes to this bug.