Ticket #720 (closed defect: fixed)
printing-config's lprm doesn't honor "-" as a job specifier
Reported by: | jdreed | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | Natty Release |
Component: | -- | Keywords: | |
Cc: | Fixed in version: | ||
Upstream bug: |
Description
You can specify "-" to remove all jobs. Printing-config's lprm doesn't let you do this, presumably because the "-" gets lost in the argument munging.
Change History
comment:2 Changed 13 years ago by jdreed
- Status changed from new to committed
Ugh. The issue here is that - is a positional argument that happens to look like an option. getopt is useless, so we'll do this the stupid way (r25209)
Note: See
TracTickets for help on using
tickets.
I initially thought we would WONTFIX this, but CUPS' lprm does support "-" -- it's just our wrapper that doesn't. So we should attempt to fix this.