Package: bsdmainutils
Version: 9.0.12+nmu1
Severity: normal

Dear Maintainer,

The `cal` binary that is part of `bsdmainutils` has stopped supporting the '-h'
flag (documented in the man page as "Turns off highlighting of today").

Specifically, when invoked as `cal -h`, a calendar of the current month (without
any highlighting) is not printed. Instead, the "Usage" message describing valid
parameters is shown.

It is perhaps interesting that it *does* work for `ncal` -- only the `cal` form
is affected.

It is also interesting that when attempting to use a genuinely invalid flag
(like, for example, '-a'), `cal` prints the error "invalid option -- 'a'" before
the "Usage" message, but no such error is printed for '-h'.

I can confirm that this option did work in Debian jessie, but I don't know when
the problem was introduced.

-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bsdmainutils depends on:
ii  bsdutils     1:2.29.2-1
ii  debianutils  4.8.1.1
ii  libbsd0      0.8.3-1
ii  libc6        2.24-11+deb9u1
ii  libncurses5  6.0+20161126-1
ii  libtinfo5    6.0+20161126-1

bsdmainutils recommends no packages.

Versions of packages bsdmainutils suggests:
ii  cpp                   4:6.3.0-4
pn  vacation              <none>
ii  wamerican [wordlist]  7.1-1
pn  whois                 <none>

-- no debconf information

Reply via email to