[issue9182] argparse: optional argument w/ narg='+' conflicts w/ positional argsument
Fred L. Drake, Jr.
report at bugs.python.org
Tue Jul 6 22:40:59 CEST 2010
Fred L. Drake, Jr. <fdrake at acm.org> added the comment:
On Tue, Jul 6, 2010 at 4:33 PM, Éric Araujo <report at bugs.python.org> wrote:
> Using “--” to explicitly signal positional arguments is most certainly
> right and standard, but people have to read about that for the first
> time somewhere. In a perfect world, that would be in their shell’s man
> page, but better add a word about it in the reference.
It's a convention; not all applications in the larger world support it at all.
It needs to be documented for argparse, and also for specific applications
(which may or may not be built using argparse or Python.
This does not belong in the shell documentation unless needed for the shell
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list