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

ColoredHelp global_setting only goes one level deep #643

Closed
clux opened this issue Sep 1, 2016 · 3 comments
Closed

ColoredHelp global_setting only goes one level deep #643

clux opened this issue Sep 1, 2016 · 3 comments
Assignees
Labels
C-bug Category: Updating dependencies
Milestone

Comments

@clux
Copy link

clux commented Sep 1, 2016

Similar to #519 - but now on clap 2.11.0.

App::new("foo")
        .setting(AppSettings::ColoredHelp)
        .global_settings(&[AppSettings::ColoredHelp])
        .subcommand(SubCommand::with_name("bar")
            .subcommand(SubCommand::with_name("baz")))
foo -h # colored
foo bar -h # colored
foo bar baz -h # uncolored
@kbknapp kbknapp added C-bug Category: Updating dependencies P2: need to have labels Sep 5, 2016
@kbknapp kbknapp added this to the 2.11.1 milestone Sep 5, 2016
@kbknapp kbknapp self-assigned this Sep 5, 2016
@kbknapp
Copy link
Member

kbknapp commented Sep 5, 2016

Thanks for posting this!

Should be a quick fix.

@kbknapp
Copy link
Member

kbknapp commented Sep 5, 2016

This is fixed in #647

@clux
Copy link
Author

clux commented Sep 6, 2016

Thanks a lot. Confirming it works. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: Updating dependencies
Projects
None yet
Development

No branches or pull requests

2 participants