[docs] [issue9182] argparse: optional argument w/ narg='+' conflicts w/ positional argsument

Fred Drake fdrake at acm.org
Tue Jul 6 22:40:30 CEST 2010


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
itself.


More information about the docs mailing list