cal doesn't accept -M option mentioned in the manual

Bug #1061943 reported by Serhiy
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bsdmainutils (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I've read the manual and it says:

-M Weeks start on Monday.

But when I try to use it:

$ cal -M
Usage: cal [general options] [-hjy] [[month] year]
       cal [general options] [-hj] [-m month] [year]
       ncal [general options] [-bhJjpwySM] [-s country_code] [[month] year]
       ncal [general options] [-bhJeoSM] [year]
General options: [-NC3] [-A months] [-B months]
For debug the highlighting: [-H yyyy-mm-dd] [-d yyyy-mm]

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: bsdmainutils 8.2.3ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-31.50-generic-pae 3.2.28
Uname: Linux 3.2.0-31-generic-pae i686
ApportVersion: 2.0.1-0ubuntu13
Architecture: i386
Date: Fri Oct 5 02:09:53 2012
SourcePackage: bsdmainutils
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Serhiy (xintx-ua) wrote :
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Note the manual page shows both cal and ncal in the same page and has:

     cal [-3hjy] [-A number] [-B number] [[month] year]
     cal [-3hj] [-A number] [-B number] -m month [year]
     ncal [-3bhjJpwySM] [-A number] [-B number] [-s country_code] [[month] year]
     ncal [-3bhJeoSM] [-A number] [-B number] [year]
     ncal [-CN] [-H yyyy-mm-dd] [-d yyyy-mm]

showing that the -M option is only for ncal, not plain cal.

Dave

Changed in bsdmainutils (Ubuntu):
status: New → Invalid
Revision history for this message
Serhiy (xintx-ua) wrote :

I've found it reported before, see bug #908233

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.