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

Change the default of group_name_formatter to str.title #47

Closed
hamdanal opened this issue Dec 31, 2022 · 0 comments · Fixed by #48
Closed

Change the default of group_name_formatter to str.title #47

hamdanal opened this issue Dec 31, 2022 · 0 comments · Fixed by #48
Labels
argparse Concerns argparse enhancement New feature or request

Comments

@hamdanal
Copy link
Owner

Long group names formatted in upper-case look weird and are harder to read than lower-case or title-case. The default of group_name_formatter must be "friendlier" with both long and short group names. str.title looks like a more convenient default.

  • str.upper:
    upper

  • str.title:
    title

Changing this could break tests that depend on the default format but it is better done now than after a 1.0 release.

@hamdanal hamdanal added the enhancement New feature or request label Dec 31, 2022
@hamdanal hamdanal added the argparse Concerns argparse label Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
argparse Concerns argparse enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant