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

Adjusting Width for Groups of Options #445

Open
MFMokbel opened this issue Dec 4, 2024 · 2 comments
Open

Adjusting Width for Groups of Options #445

MFMokbel opened this issue Dec 4, 2024 · 2 comments

Comments

@MFMokbel
Copy link

MFMokbel commented Dec 4, 2024

Hello,

When dealing with multiple groups of options, the spacing between the option arguments and their corresponding help messages is inconsistent across groups. Is there a way to standardize this spacing for all groups?

@jarro2783
Copy link
Owner

Can you show me an example?
It might be a bit of effort since the group help text is output independently. If it's what I think you're referring to then the width depends on the length of the option names in each group.

@MFMokbel
Copy link
Author

MFMokbel commented Dec 10, 2024

Precisely, as you mentioned. The problem lies in the varying lengths of long options across different groups, which results in inconsistent width adjustments. I resolved this by standardizing the maximum length across all option groups.

It would be great to have the ability to do it programmatically.

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

No branches or pull requests

2 participants