Skip to content

Commit

Permalink
Add link to README themes documentation in --help text
Browse files Browse the repository at this point in the history
  • Loading branch information
dandavison committed Mar 29, 2021
1 parent 4b955f3 commit 926e3c5
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,15 @@ pub struct Opt {
#[structopt(long = "show-syntax-themes")]
pub show_syntax_themes: bool,

/// Show available delta themes, each with an example of highlighted diff output. A delta theme
/// is a delta named feature (see --features) that sets either `light` or `dark`. If diff
/// output is supplied on standard input then this will be used for the demo. For example: `git
/// show | delta --show-themes`. By default shows dark or light themes only, according to
/// whether delta is in dark or light mode (as set by the user or inferred from BAT_THEME). To
/// control the themes shown, use --dark or --light, or both, on the command line together with
/// Show available delta themes, each with an example of highlighted diff
/// output. A delta theme is a delta named feature (see --features) that
/// sets either `light` or `dark`. See
/// https://github.com/dandavison/delta#custom-color-themes. If diff output
/// is supplied on standard input then this will be used for the demo. For
/// example: `git show | delta --show-themes`. By default shows dark or
/// light themes only, according to whether delta is in dark or light mode
/// (as set by the user or inferred from BAT_THEME). To control the themes
/// shown, use --dark or --light, or both, on the command line together with
/// this option.
#[structopt(long = "show-themes")]
pub show_themes: bool,
Expand Down

0 comments on commit 926e3c5

Please sign in to comment.