[New-bugs-announce] [issue36863] argparse doesn't like options in the middle of arguments

rhubarbdog x report at bugs.python.org
Thu May 9 04:39:22 EDT 2019


New submission from rhubarbdog x <rhubarbdog76 at gmail.com>:

I've found a bug with argparse and reported it upstream.
`command --option source destination` works
`command soucre destination --option` works
but `command source --option destination` doesn't outputting the usage text block associated `do_command` method and outputs error message `command: error: unrecognized arguments: destination`

----------
components: Argument Clinic
messages: 341973
nosy: larry, rhubarbdog x
priority: normal
severity: normal
status: open
title: argparse doesn't like options in the middle of arguments

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36863>
_______________________________________


More information about the New-bugs-announce mailing list