summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2021-03-29 19:00:31 -0400
committerDan Davison <dandavison7@gmail.com>2021-03-29 19:00:31 -0400
commite4653cb09000e3418e83ae77f3a200625404bf44 (patch)
tree40c8760085904f14e2ecb1183d2a098b9853200c
parent54393d197e664941714bfeb361ab400c4851eb14 (diff)
Update README
-rw-r--r--README.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/README.md b/README.md
index 8b529085..971b9774 100644
--- a/README.md
+++ b/README.md
@@ -606,7 +606,7 @@ and use the executable found at `./target/release/delta`.
## Full --help output
```
-delta 0.6.0
+delta 0.7.1
A viewer for git and diff output
USAGE:
@@ -644,7 +644,15 @@ FLAGS:
--list-syntax-themes List available syntax-highlighting color themes
--show-syntax-themes 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`
+ for the demo. For example: `git show | delta --show-syntax-themes`
+ --show-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`. 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
--no-gitconfig Do not take any settings from git config. See GIT CONFIG section
--raw Do not alter the input in any way. This is mainly intended for testing delta
--color-only Do not alter the input structurally in any way, but color and highlight hunk lines