[docs] [issue9182] document “--” as a way to distinguish option w/ narg='+' from positional argument in argparse

Éric Araujo report at bugs.python.org
Tue Jul 6 22:43:19 CEST 2010


Éric Araujo <merwok at netwok.org> added the comment:

I always forget that not all programs follow getopt-style parsing rules, thanks for the reminder.

----------
keywords: +easy
resolution:  -> accepted
title: argparse: optional argument w/ narg='+' conflicts w/ positional argsument -> document “--” as a way to distinguish option w/ narg='+' from positional argument in argparse

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


More information about the docs mailing list