Leon Avery added the comment:
The POSIX guideline suggests that -- should be available as an option argument.
One should be able to say "command --opt --" in order to make '--' the value of
the '--opt' option.
> There are some known problems with this
New submission from Leon Avery:
In the argparse module, the argument '--' is interpreted as a signal that
everything after it is a positional argument. '--' is literally written into
the argparse code, in _parse_known_args. This means that a user who wishes to
use '