getopt with negative numbers?

Carl Banks pavlovevidence at gmail.com
Fri Sep 28 19:15:22 EDT 2007


On Sep 28, 6:19 pm, Ben Finney <bignose+hates-s... at benfinney.id.au>
wrote:
> Steven Bethard <steven.beth... 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.

I guess typing

./program --help

is out of the question.



Carl Banks




More information about the Python-list mailing list