summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2006-02-22 02:56:03 +0000
committerClint Adams <clint@users.sourceforge.net>2006-02-22 02:56:03 +0000
commit262243bb3e88ed582ef9edd57ea1782d00a3d07a (patch)
tree4ebea5658a2b9bf2493d372228674464456bd474 /Completion/Unix
parent21f98967bf7e41298ccc2935230c0dcaf092194d (diff)
downloadzsh-262243bb3e88ed582ef9edd57ea1782d00a3d07a.tar.gz
zsh-262243bb3e88ed582ef9edd57ea1782d00a3d07a.tar.xz
zsh-262243bb3e88ed582ef9edd57ea1782d00a3d07a.zip
22298: completion for diffstat
Diffstat (limited to 'Completion/Unix')
-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'