Re: Re: optparse questions
Greg Ward <[email protected]> Sun, 6 Jun 2004 18:04:22 -0400
| Newsgroups | gmane.comp.python.optik.user |
|---|---|
| Message-ID | <[email protected]> |
On 06 June 2004, David Goodger said:
> While the Tao doc is useful, I don't think there's any problem with
> Jeremy's approach, syntax like this:
>
> command [options] file1 [file2]
>
> That's options (optional by default), one required positional
> argument, and one optional positional argument. We use similar syntax
> with Docutils:
Ahhh, then I didn't understand Jeremy's question. Agreed that this is a
perfectly sound syntax, and your implementation is what I would use.
Greg
--
Greg Ward <[email protected]> http://www.gerg.ca/
One man's theology is another man's belly laugh.
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504