Document environment variables in manual

add_libdifftastic
Wilfred Hughes 2022-08-27 17:53:18 +07:00
parent aca46af40f
commit ae799f39d9
1 changed files with 12 additions and 0 deletions

@ -31,3 +31,15 @@ extension, and ignore other language detection heuristics.
```
$ difft --language cpp before.c after.c
```
## Options
Difftastic includes a range of configuration CLI options, see `difft
--help` for the full list.
Difftastic can also be configured with environment variables. These
are also visible in `--help`.
For example, `DFT_BACKGROUND=light` is equivalent to
`--background=light`. This is useful when using VCS tools like git,
where you are not invoking the `difft` binary directly.