Skip to content

Commit

Permalink
Add colors to --help (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
denisidoro authored Mar 25, 2020
1 parent 6515466 commit 2c705a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/structures/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ use structopt::{clap::AppSettings, StructOpt};
navi --fzf-overrides ' --with-nth 1,2' # shows only the comment and tag columns
navi --fzf-overrides ' --nth 1,2' # search will consider only the first two columns
navi --fzf-overrides ' --no-exact' # looser search algorithm"#)]
#[structopt(setting = AppSettings::ColorAuto)]
#[structopt(setting = AppSettings::ColoredHelp)]
#[structopt(setting = AppSettings::AllowLeadingHyphen)]
pub struct Config {
/// List of :-separated paths containing .cheat files
Expand Down

0 comments on commit 2c705a0

Please sign in to comment.