Bug#698615: lp ignores silly options; should give error
Control: forwarded -1 https://cups.org/str.php?L4261
Control: tags -1 +confirmed
Hi Trent,
Le lundi, 21 janvier 2013 07.37:17, Trent W. Buck a écrit :
> 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 :-(
I have confirmed this behaviour and forwarded to upstream, thanks!
Cheers,
OdyX
Reply to: