1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
.TH RIFF "1" "@DATE@" "riff @VERSION@" "User Commands"
.SH NAME
riff \- Diff filter highlighting changed line parts
.SH SYNOPSIS
.br
diff ... | riff [options...]
.br
riff [\-b] [\-w] [options...] <FD1> <FD2>
.br
riff [\-b] [\-w] [options...] \fB\-\-file\fR <FILE>
.SS "Arguments:"
[FD1]: First file or directory to compare
.br
[FD2]: Second file or directory to compare
.SH DESCRIPTION
Colors diff output, highlighting the changed parts of every line.
.SS "Git integration:"
git config \fB\-\-global\fR pager.diff riff
.br
git config \fB\-\-global\fR pager.show riff
.br
git config \fB\-\-global\fR pager.log riff
.br
git config \fB\-\-global\fR interactive.diffFilter "riff \fB\-\-color\fR=\fI\,on\/\fR"
.SH OPTIONS
.HP
\fB\-f\fR, \fB\-\-file\fR <FILE>
.IP
Read diff or patch file
.HP
\fB\-b\fR, \fB\-\-ignore\-space\-change\fR
.IP
Ignore changes in amount of whitespace
.HP
\fB\-w\fR, \fB\-\-ignore\-all\-space\fR
.IP
Ignore all whitespace
.HP
\fB\-\-no\-pager\fR
.IP
Don't page the result
.HP
\fB\-\-no\-adds\-only\-special\fR
.IP
No effect, replaced by \fB\-\-unchanged\-style\fR
.HP
\fB\-\-unchanged\-style\fR <UNCHANGED_STYLE>
.IP
How will unchanged line parts be styled?
.IP
Possible values:
.br
\- yellow: Unchanged text is yellow, old unchanged is faint
.br
\- red\-green: Legacy mode
.HP
\fB\-\-color\fR <COLOR>
.IP
Possible values:
.br
\- on
.br
\- off
.br
\- auto: Color if stdout is a terminal
.HP
\fB\-h\fR, \fB\-\-help\fR
.IP
Print help (see a summary with '\-h')
.HP
\fB\-V\fR, \fB\-\-version\fR
.IP
Print version
.SH "REPORTING BUGS"
Report issues at <https://github.com/walles/riff>.
.SH COPYRIGHT
Copyright (c) 2021 Johan Walles <johan.walles@gmail.com>
|