about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_diffstat19
1 files changed, 19 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_diffstat b/Completion/Unix/Command/_diffstat
new file mode 100644
index 000000000..9b4b2da6e
--- /dev/null
+++ b/Completion/Unix/Command/_diffstat
@@ -0,0 +1,19 @@
+#compdef diffstat
+
+_arguments \
+  '-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]' \
+  '-k[suppress merging of filenames in report]' \
+  '-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]' \
+  '-u[suppress sorting of filenames in report]' \
+  '-v[show progress]' \
+  '-V[print version number]' \
+  '-w:maximum width of histogram:' \
+  '*:file specifications:_files'