getopt with negative numbers?

Ben Finney bignose+hates-spam at benfinney.id.au
Fri Sep 28 18:19:34 EDT 2007


Steven Bethard <steven.bethard at gmail.com> writes:

> A user shouldn't have to go out of their way to specify regular
> numbers on the command line, regardless of whether they're positive
> or negative.

A user shouldn't have to go out of their way to know whether what they
type on a command line will be treated as an option or an argument.

-- 
 \        "When I was crossing the border into Canada, they asked if I |
  `\     had any firearms with me. I said, 'Well, what do you need?'"  |
_o__)                                                 -- Steven Wright |
Ben Finney



More information about the Python-list mailing list