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
Fix: All python -m semver commands fail with 'error: invalid choice:'
This was caused by __main__.py passing `sys.argv` to `cli.main()`,
which includes the path of the script in `sys.argv[0]`.
`argparse.ArgumentParser.parse_args()` parses this as the subcommand
name, causing it to throw an error.
0 commit comments