-b | ignore lines matching "Binary files XXX and YYY differ" in the diff | help + man |
-c | prefix each line of output with "#", making it a comment-line for shell scripts. | help + man |
-C | add SGR color escape sequences to highlight the histogram. | help + man |
-d | The debug prints a lot of information. | help + man |
-E | strip out ANSI escape sequences on each line before parsing the differences. | help + man |
-f NUM | format (0=concise, 1=normal, 2=filled, 4=values) | help + man |
-h | prints the usage message and exits. | help + man |
-k | suppress the merging of filenames in the report. | help + man |
-K | attempt to improve the annotation of "only" files by looking for a match in the resulting set of files and inferring whether the file was added or removed. | help + man |
-l | lists only the filenames. | help + man |
-m | merge insert/delete counts from each "chunk" of the patch file to approximate a count of the modified lines. | help + man |
-n NUM | specify minimum width for the filenames (default: auto) | help + man |
-N NUM | specify maximum width for the filenames (default: auto) | help + man |
-O | inspect only files listed in diff for -S/-D options | help |
-p NUM | override the logic that strips common pathnames, simulating the patch "-p" option. | help + man |
-q | suppress the "0 files changed" message for empty diffs. | help + man |
-r NUM | provides optional rounding of the data shown in histogram, rather than truncating with error adjustments. | help + man |
-R | Assume patch was created with old and new files swapped. | help + man |
-s | show only the summary line, e.g., number of insertions and deletions. | help + man |
-t | overrides the histogram, generates output of comma separated values for the number of changed lines found in the differences for each file: inserted, deleted and modified. | help + man |
-T | prints the numbers that the -t option would show, between the pathname and histogram. | help + man |
-u | suppress the sorting of filenames in the report. | help + man |
-v | show progress, e.g., if the output is redirected to a file, write progress messages to the standard error. | help + man |
-V | prints the current version number and exits. | help + man |
-w NUM | specify maximum width of the output (default: 80) | help + man |
-D destination | specify a directory containing files which can be referred to as the result of applying the differences. (in the manual page but not in --help) | man |
-e file | redirect standard error to file. (in the manual page but not in --help) | man |
-o file | redirect standard output to file. (in the manual page but not in --help) | man |
-S source | this is like the -D option, but specifies a location where the original files (before applying differences) can be found. (in the manual page but not in --help) | man |