You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
main.exe --value 1 --input foo will give the expected result, but main.exe --input foo --value 1 will complain: Invalid argument "--value" - allowed options: {foo, bar, baz}
It seems the order of choices() on command line matters.
Environment: Windows 10, MSVC2019, argparse v3.0
The text was updated successfully, but these errors were encountered:
For example
main.exe --value 1 --input foo
will give the expected result, butmain.exe --input foo --value 1
will complain: Invalid argument "--value" - allowed options: {foo, bar, baz}It seems the order of
choices()
on command line matters.Environment: Windows 10, MSVC2019, argparse v3.0
The text was updated successfully, but these errors were encountered: