diffstat --version (return code: 0)
diffstat version 1.61
diffstat --help (return code: 0)
Usage: diffstat [options] [files]
Reads from one or more input files which contain output from 'diff',
producing a histogram of total lines changed for each file referenced.
If no filename is given on the command line, reads from standard input.
Options:
-b ignore lines matching "Binary files XXX and YYY differ"
-c prefix each line with comment (#)
-C add SGR color escape sequences to highlight the histogram
-d debug - prints a lot of information
-D PATH specify location of patched files, use for unchanged-count
-e FILE redirect standard error to FILE
-E trim escape-sequences, e.g., from colordiff
-f NUM format (0=concise, 1=normal, 2=filled, 4=values)
-h print this message
-k do not merge filenames
-K resolve ambiguity of "only" filenames
-l list filenames only
-m merge insert/delete data in chunks as modified-lines
-n NUM specify minimum width for the filenames (default: auto)
-N NUM specify maximum width for the filenames (default: auto)
-o FILE redirect standard output to FILE
-p NUM specify number of pathname-separators to strip (default: common)
-q suppress the "0 files changed" message for empty diffs
-r NUM specify rounding for histogram (0=none, 1=simple, 2=adjusted)
-R assume patch was created with old and new files swapped
-s show only the summary line
-S PATH specify location of original files, use for unchanged-count
-t print a table (comma-separated-values) rather than histogram
-T print amounts (like -t option) in addition to histogram
-u do not sort the input list
-v show progress if output is redirected to a file
-V prints the version number
-w NUM specify maximum width of the output (default: 80)