Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use boolean ParmParse parameters instead of int for true/false, on/off #719

Open
BenWibking opened this issue Aug 24, 2024 · 0 comments
Open
Labels
enhancement New feature or request user experience

Comments

@BenWibking
Copy link
Collaborator

BenWibking commented Aug 24, 2024

Describe the proposal
ParmParse supports reading strings "true" and "false" as bool types with true and false values. This is closer to Python syntax and expectations.

Describe alternatives you've considered
Keep using 0 and 1 to indicate true/false. But there is no reason to do this.

Additional context
Currently, we use 0 and 1 to indicate false and true, which is confusing for non-C programmers.

@BenWibking BenWibking added enhancement New feature or request user experience labels Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request user experience
Projects
None yet
Development

No branches or pull requests

1 participant