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!: Give control over help text #35

Merged
merged 1 commit into from Feb 9, 2022
Merged

fix!: Give control over help text #35

merged 1 commit into from Feb 9, 2022

Conversation

epage
Copy link
Member

@epage epage commented Feb 9, 2022

A runtime default means we can't change our help text off of it. We
could accept the default as a const generics and match off of that for
help text but the user might want more control and, for now, we'd have
to expose all of that as integers. So we're offering a trait with
zero-sized types to control the default level and different clap
settings, like help text.

A runtime default means we can't change our help text off of it.  We
could accept the default as a const generics and match off of that for
help text but the user might want more control and, for now, we'd have
to expose all of that as integers.  So we're offering a trait with
zero-sized types to control the default level and different clap
settings, like help text.
@epage epage merged commit 08eef70 into clap-rs:master Feb 9, 2022
@epage epage deleted the custom branch February 9, 2022 15:57
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.

None yet

1 participant