[issue9182] document “--” as a way to distinguish option w/ narg='+' from positional argument in argparse
July 7, 2010
4:51 a.m.
Sergey Konoplev <gray.ru@gmail.com> added the comment: Thank you for the hint. It is realy not so obvious. May be it is worth to add "--" into the usage string this way usage: [-h] [-b BAR [BAR ...]] -- foo Otherwise it leads to misunderstanding. ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue9182> _______________________________________
5759
Age (days ago)
5759
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sergey Konoplev