summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2021-03-28 09:46:42 -0400
committerDan Davison <dandavison7@gmail.com>2021-03-28 09:49:11 -0400
commitcef38eef5ac6b8e9f84d55d5e01a92a366cd8e3a (patch)
tree71891f33a38559f4ebb8ef567e61f7e3ed281b91
parentebb05c7e677d8a3148aa5543b4fd780ae7429eb6 (diff)
Edit --help text
-rw-r--r--src/cli.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cli.rs b/src/cli.rs
index a771ad53..2f2ac386 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -265,17 +265,17 @@ pub struct Opt {
/// Show all available syntax-highlighting themes, each with an example of highlighted diff output.
/// If diff output is supplied on standard input then this will be used for the demo. For
- /// example: `git show --color=always | delta --show-syntax-themes`.
+ /// example: `git show | delta --show-syntax-themes`.
#[structopt(long = "show-syntax-themes")]
pub show_syntax_themes: bool,
- /// Show available delta themes with an example of highlighted diff output.
- /// 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, if delta is configured to use a light theme (as set by the user or inferred by the
- /// BAT_THEME), only displays light themes, otherwise will only display dark themes, unless the
- /// --dark or --light command line arguments are included.
- /// If both --dark and --light command line arguments are included, will display all themes.
+ /// 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
+ /// this option.
#[structopt(long = "show-themes")]
pub show_themes: bool,