summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2021-03-29 07:28:52 -0400
committerDan Davison <dandavison7@gmail.com>2021-03-29 07:29:49 -0400
commit926e3c5e34b926afbea5d30cc6563210edb25486 (patch)
tree8c3635042214f8842a39bf1f33b7ac6bcf4d30ae
parent4b955f3f91f6bfaffdaaebafe58c54db3694be06 (diff)
Add link to README themes documentation in --help text
-rw-r--r--src/cli.rs15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 2f2ac386..2ee73240 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -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,