Ticket #720 (closed defect: fixed)

Opened 14 years ago

Last modified 13 years ago

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:1 Changed 13 years ago by jdreed

  • Milestone changed from Natty Alpha to Natty Release

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.

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)

comment:3 Changed 13 years ago by jdreed

  • Status changed from committed to development

1.23.4 to -dev

comment:4 Changed 13 years ago by jdreed

  • Status changed from development to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.