getopt: where's da dicts?????

Michael Zawrotny zawrotny at sb.fsu.edu
Tue Oct 19 12:19:15 EDT 1999


One way out of that trap (at least with the other p-lang's package
for options is to allow an optional integer argument whose
default is one for the -v flag.


Mike

On Tue, 19 Oct 1999 11:50:57 -0400 (EDT), "Fred L. Drake, Jr."
<fdrake at acm.org> wrote:
>Les Schaffer writes:
> > ahhh, okay. hadnt thought about that one. i usually dont write stuff
> > that needs that kinda thing. on the other hand, what would be wrong
> > with coding -v3 (verbose level 3)? seems easier to me somehow...
>
>Les,
>  There's certainly nothing wrong with that, except that simply -v for 
>verbose becomes impossible.  Using yet another option seems like
>overkill from a UI perspective (too many options to explain).






More information about the Python-list mailing list