diff options
author | Wenxuan Zhang <wenxuangm@gmail.com> | 2021-03-19 10:44:49 +0800 |
---|---|---|
committer | Wenxuan Zhang <wenxuangm@gmail.com> | 2021-03-19 10:44:49 +0800 |
commit | 78f7449a1bda7ee76b20c479584435648d50280a (patch) | |
tree | 29d1aadddca1bd32acd7c3d655ab6a5cfccb3c17 /src/cli | |
parent | 3807e256cec399a945bc26a759ba570208e6ade8 (diff) |
add colored help support
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/clap_args.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cli/clap_args.rs b/src/cli/clap_args.rs index 765a8bf..17874d5 100644 --- a/src/cli/clap_args.rs +++ b/src/cli/clap_args.rs @@ -10,6 +10,7 @@ pub fn clap_app() -> clap::App<'static, 'static> { "A tree explorer and a customizable launcher\n\ Complete documentation lives at https://dystroy.org/broot" ) + .setting(clap::AppSettings::ColoredHelp) .arg(clap::Arg::with_name("ROOT").help("sets the root directory")) // tree flags .arg( |