summaryrefslogtreecommitdiff
path: root/development/icdiff/icdiff.1
blob: d5bb5306e22020ed3160251a52f46fdfba248b1f (plain)
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "ICDIFF" 1 "2021-08-31" "2.0.4" "SlackBuilds.org"
.SH NAME
icdiff \- improved color diff
.\" RST source for icdiff(1) man page. Convert with:
.
.\" rst2man.py icdiff.rst > icdiff.1
.
.\" rst2man.py comes from the SBo development/docutils package.
.
.SH SYNOPSIS
.sp
icdiff [\fI\-options\fP] left_file right_file
.sp
git\-icdiff [\fIgit diff options\fP]
.SH DESCRIPTION
.sp
\fBicdiff\fP show differences between files in a colorful two column view.
.sp
\fBgit\-icdiff\fP is a wrapper around \fBgit diff\fP that uses \fBicdiff\fP to show diffs.
.SH OPTIONS
.INDENT 0.0
.TP
.B  \-\-version
show program\(aqs version number and exit
.TP
.B  \-h\fP,\fB  \-\-help
show this help message and exit
.TP
.BI \-\-cols\fB= COLS
specify the width of the screen. Autodetection is Unix only
.TP
.BI \-\-encoding\fB= ENCODING
specify the file encoding; defaults to utf8
.TP
.BI \-E \ MATCHER\fR,\fB \ \-\-exclude\-lines\fB= MATCHER
Do not diff lines that match this regex. Not compatible with the \(aqline\-numbers\(aq option
.TP
.BI \-\-head\fB= HEAD
consider only the first N lines of each file
.TP
.B  \-H\fP,\fB  \-\-highlight
color by changing the background color instead of the foreground color.  Very fast, ugly, displays all changes
.TP
.BI \-L \ LABELS\fR,\fB \ \-\-label\fB= LABELS
override file labels with arbitrary tags. Use twice, one for each file
.TP
.B  \-N\fP,\fB  \-\-line\-numbers
generate output with line numbers. Not compatible with the \(aqexclude\-lines\(aq option.
.TP
.B  \-\-no\-bold
use non\-bold colors; recommended for solarized
.TP
.B  \-\-no\-headers
don\(aqt label the left and right sides with their file names
.TP
.BI \-\-output\-encoding\fB= OUTPUT_ENCODING
specify the output encoding; defaults to utf8
.TP
.B  \-r\fP,\fB  \-\-recursive
recursively compare subdirectories
.TP
.B  \-s\fP,\fB  \-\-report\-identical\-files
report when two files are the same
.TP
.B  \-\-show\-all\-spaces
color all non\-matching whitespace including that which is not needed for drawing the eye to changes.  Slow, ugly, displays all changes
.TP
.BI \-\-tabsize\fB= TABSIZE
tab stop spacing
.TP
.B  \-t\fP,\fB  \-\-truncate
truncate long lines instead of wrapping them
.TP
.B  \-u\fP,\fB  \-\-patch
generate patch. This is always true, and only exists for compatibility
.TP
.BI \-U \ NUM\fR,\fB \ \-\-unified\fB= NUM\fR,\fB \ \-\-numlines\fB= NUM
how many lines of context to print; can\(aqt be combined with \-\-whole\-file
.TP
.B  \-W\fP,\fB  \-\-whole\-file
show the whole file instead of just changed lines and context
.TP
.B  \-\-strip\-trailing\-cr
strip any trailing carriage return at the end of an input line
.TP
.BI \-\-color\-map\fB= COLOR_MAP
choose which colors are used for which items. Default is \-\-color\-map=\(aqadd:green_bold,change:yellow_bold,description:blue,meta:magenta,separator:blue,subtract:red_bold\(aq.  You don\(aqt have to override all of them: \(aq\-\-color\-map=separator:white,description:cyan\(aq
.TP
.B  \-\-is\-git\-diff
Show the real file name when displaying git\-diff result
.UNINDENT
.SH NOTE
.sp
It\(aqs highly recommended to use wide terminals with \fBicdiff\fP, for
instance 160 columns or more.
.SH EXAMPLES
.sp
See the file /usr/doc/icdiff\-2.0.4/README.md for examples.
.SH COPYRIGHT
.sp
See the file /usr/doc/icdiff\-2.0.4/LICENSE for license information.
.SH AUTHORS
.sp
icdiff was written by Jeff Kaufman.
.sp
This man page written for the SlackBuilds.org project
by B. Watson, and is licensed under the WTFPL.
.SH SEE ALSO
.sp
diff(1), colordiff(1), git\-difftool(1)
.sp
The icdiff homepage: \fI\%https://www.jefftk.com/icdiff\fP
.\" Generated by docutils manpage writer.
.