Bug#698615: lp ignores silly options; should give error
Package: cups-client
Version: 1.5.3-2.12
Severity: wishlist
Tags: upstream
While dealing with an unrelated issue, I tried to type
date | lp -n2 -o collate=true
but instead I typed
date | lp -n2 --collate=true
AFAICT, lp silently ignored the bogus option.
I would strongly prefer that it instead gave an error like this,
possibly followed by a help synopsis of valid options.
lp: illegal option -- -
In this case, because I didn't notice the typo, I ended up wasting a
couple of hours trying to debug the pxlmono.ppd that (I thought)
wasn't working as advertised :-(
http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/ricohfaq#Why_can_I_not_print_multiple_copies.3F
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cups-client depends on:
ii adduser 3.113+nmu3
ii cups-common 1.5.3-2.12
ii libc6 2.13-33
ii libcups2 1.5.3-2.12
ii libcupsimage2 1.5.3-1
Versions of packages cups-client recommends:
pn smbclient <none>
Versions of packages cups-client suggests:
pn cups <none>
pn cups-bsd <none>
pn xpp <none>
-- no debconf information
Reply to: