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

Fix color of brackets surrounding positional arguments in the usage #101

Merged
merged 2 commits into from
Oct 21, 2023

Conversation

hamdanal
Copy link
Owner

Only color the metavar, not the symbols surrounding it, for positional arguments in the usage. This makes positional arguments style more consistent with optional arguments.

Fixes #100

Only color the metavar, not the symbols surrounding, it for positional
arguments in the usage. This makes positional arguments style more
consistent with optional arguments.

Fixes #100
@hamdanal hamdanal added the argparse Concerns argparse label Oct 21, 2023
@hamdanal hamdanal merged commit 396cd74 into main Oct 21, 2023
9 checks passed
@hamdanal hamdanal deleted the positional-usage branch October 21, 2023 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
argparse Concerns argparse
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Brackets around optional positional args and options are a different color
1 participant