Arg decoding with a template?
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Fri Aug 3 14:49:57 EDT 2001
02 Aug 2001 19:37:16 -0400, David Bolen <db3l at fitlinxx.com> pisze:
> Of course, the negative consequence is the inability for such an
> application to take normal (non-optional) arguments that happen to
> start with an option character, or the option parsing has to provide a
> way to quote such an occurrence.
The standard for this already exists in the GNU world: "--" means
that all following arguments are non-options.
Trying to disambiguate this by disallowing options after non-options
wouldn't work anyway if the first non-option starts with "-".
--
__("< Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
\__/
^^ SYGNATURA ZASTĘPCZA
QRCZAK
More information about the Python-list
mailing list