Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #688 (closed enhancement: fixed)

Opened 9 months ago

Last modified 8 months ago

tango.util.ArgParser enhancements

Reported by: Jim Panic Assigned to: Jim Panic
Priority: normal Milestone: 0.99.3
Component: Tango Version: trunk
Keywords: argparser Cc:

Description (Last modified by Jim Panic)

I've added a few methods to enable sloppy binding of argument identifiers and an Argument struct that represents a prefix-identifier pair.

Apart from that, I've changed the parse method to call the best matching argument callback, and not the first found.

(see attached diff)

Attachments

ArgParser.diff (5.1 kB) - added by Jim Panic on 11/08/07 05:05:47.

Change History

11/08/07 05:05:47 changed by Jim Panic

  • attachment ArgParser.diff added.

11/08/07 05:10:30 changed by Jim Panic

  • owner changed from larsivi to Jim Panic.
  • status changed from new to assigned.
  • description changed.

11/08/07 11:44:27 changed by kris

who will be applying this patch and checking it in? :)

11/08/07 18:32:28 changed by Jim Panic

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [2813]) closes #688