[c]cal command-line processing broken

Bug #789043 reported by Siep Kroonenberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cal (Ubuntu)
New
Undecided
Unassigned

Bug Description

Examples:

######################################################

~$ ccal --data-file=~/.caldat may

cal 4.0 - Display a monthly or yearly calendar, with optional appointments.

Usages: cal [options] [[1|2|3|...|12] year]
         cal [options] [jan|feb|mar|...|dec] [year]

Options:
  --3[months] Display prev/current/next month
  ....

######################################################

~$ ccal 2011

cal 4.0 - Display a monthly or yearly calendar, with optional appointments.

Usages: cal [options] [[1|2|3|...|12] year]
         cal [options] [jan|feb|mar|...|dec] [year]

Options:
  --3[months] Display prev/current/next month
  --a[ppts]=n Display maximum of n (8-50) appointments (24)
  ....

######################################################
~$ cal --data-file=$HOME/.caldat
cal: invalid option -- '-'
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 11.04
Package: ccal 4.0-2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Fri May 27 11:39:35 2011
ProcEnviron:
 LANGUAGE=en_US.UTF-8
 LC_CTYPE=en_US.UTF-8
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: cal
UpgradeStatus: Upgraded to natty on 2011-05-20 (6 days ago)

Revision history for this message
Siep Kroonenberg (siepo) wrote :
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.