diff options
Diffstat (limited to 'manual/src/usage.md')
-rw-r--r-- | manual/src/usage.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/src/usage.md b/manual/src/usage.md index 029bf282..9b4e301f 100644 --- a/manual/src/usage.md +++ b/manual/src/usage.md @@ -4,7 +4,7 @@ The main way to use delta is to configure it as the pager for git: see [Configur Delta can also be used as a shorthand for diffing two files, even if they are not in a git repo: the following two commands do the same thing: -``` +```sh delta /somewhere/a.txt /somewhere/else/b.txt git diff /somewhere/a.txt /somewhere/else/b.txt @@ -12,7 +12,7 @@ git diff /somewhere/a.txt /somewhere/else/b.txt You can also use [process substitution](https://en.wikipedia.org/wiki/Process_substitution) shell syntax with delta, e.g. -``` +```sh delta <(sort file1) <(sort file2) ``` |