Skip to content

Conversation

@mattmess1221
Copy link

@mattmess1221 mattmess1221 commented Mar 29, 2024

parser.add_argument() doesn't automatically handle flags when using type=bool. action="store_true" should be used instead.

This makes it so passing --debug is valid instead of --debug=true, or the very misleading --debug=false which is actually true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant