OK, this looks like an old bug. It seems to stem from a change to the way the option parsing was done, it used to be that getopt didn't know that -m took a parameter and it was fixed up later, leaving the argc to be 2 (in the same way as if you hadn't said -m at all and specified a month + year).
This fix seems to do it, and I've tried a bunch of options. Note I also looked at the upstream FreeBSD code and that's changed a lot more and probably doesn't still have this problem. Dave ** Attachment added: "Fix for -m against 8.0.17" https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/693499/+attachment/1775685/+files/ncal-diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/693499 Title: Cal no longer prints month of a given year -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs