[issue9182] document “--” as a way to disti nguish option w/ narg='+' from positional argument in arg parse
Sergey Konoplev 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. --
[issue9182] argparse: optional argument w/ narg='+' conflicts w/ positional argsument
New submission from Sergey Konoplev : Hello, I am starting to use argparse package and faced the problem where an optional argument w/ nargs='+' conflicts w/ a positional argument. Here is the test case: >>> import argparse >>> p = argparse.ArgumentParser() &g