From 8eaacb35419171b40e121c61323a5113e5f1977d Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Sat, 15 Jul 2017 14:53:53 +0200 Subject: 41431: update options in assorted completions --- Completion/Unix/Command/_diffstat | 37 +++++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 12 deletions(-) (limited to 'Completion/Unix/Command/_diffstat') diff --git a/Completion/Unix/Command/_diffstat b/Completion/Unix/Command/_diffstat index 9b4b2da6e..c9f8e3049 100644 --- a/Completion/Unix/Command/_diffstat +++ b/Completion/Unix/Command/_diffstat @@ -1,19 +1,32 @@ #compdef diffstat -_arguments \ +_arguments -s -S \ + '-b[ignore lines indicating binary file differences]' \ '-c[prefix each line with hash mark]' \ - '-e:error file:_files' \ - '-f:histogram format:((0\:concise 1\:normal 2\:dots 3\:dots+normal 4\:value 5\:value+normal 6\:value+dots 7\:value+dots+normal))' \ - '-h[help]' \ + '-C[use color highlighting of histogram]' \ + '-d[print debug information]' \ + '-D[specify location of patched files for unchanged count]:location:_directories' \ + '-e[redirect standard error to specified file]:error file:_files' \ + '-E[trim escape sequences, e.g. from colordiff]' \ + '-f[specify histogram format]:format:((0\:concise 1\:normal 2\:dots 3\:dots+normal 4\:value 5\:value+normal 6\:value+dots 7\:value+dots+normal))' \ + '(- *)-h[display help information]' \ '-k[suppress merging of filenames in report]' \ + '-K[resolve ambiguity of "only" filenames]' \ '-l[list only the filenames]' \ - '-n:minimum width for filenames:' \ - '-o:output file:_files' \ - '-p:number of path components:' \ - '-f:rounding code:((0\:none 1\:round 2\:round+adjustment))' \ - '-t[overrides histogram, generates csv output]' \ + '-m[merge insert/delete data in chunks as modified-lines]' \ + '-n[specify minimum width for filenames]:width [auto]' \ + '-N[specify maximum width for filenames]:width [auto]' \ + '-o[redirect standard output to specified file]:output file:_files' \ + '-p[specify number of path separators to strip]:path components [common]' \ + '-q[suppress "0 files changed" message for empty diffs]' \ + '-r[specify rounding for histogram]:rounding:((0\:none 1\:simple 2\:simple+adjustment))' \ + '(-t)-s[show only the summary line]' \ + '-S[specify location of original files for unchanged count]:location:_directories' \ + '-R[assume patch was created with old and new files swapped]' \ + '(-T -s)-t[overrides histogram, generates csv output]' \ + '(-t)-T[print amounts (like -t) in addition to histogram]' \ '-u[suppress sorting of filenames in report]' \ '-v[show progress]' \ - '-V[print version number]' \ - '-w:maximum width of histogram:' \ - '*:file specifications:_files' + '(- *)-V[print version number]' \ + '-w[specify maximumn width of output]:maximum width [80]' \ + '*:patch file:_files' -- cgit 1.4.1