Skip to content

Commit

Permalink
Document environment variables in manual
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Aug 28, 2022
1 parent aca46af commit ae799f3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions manual/src/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit ae799f3

Please sign in to comment.