[issue15062] argparse: option for a positional argument

R. David Murray report at bugs.python.org
Thu Jun 14 02:13:10 CEST 2012


R. David Murray <rdmurray at bitdance.com> added the comment:

It took me a while to make any sense out of your example, but having done so I don't think it makes any sense in the argparse context. It is certainly not the way argparse handles options or arguments.  In argparse, if you have an option 'k', you get 'k' mapped to a value in the Namespace. 

I don't believe I've ever seen a command line command with syntax like that either.  Do you know of one?

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15062>
_______________________________________


More information about the Python-bugs-list mailing list