about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorØystein Walle <oystwa@gmail.com>2013-10-20 19:43:34 +0200
committerFrank Terbeck <ft@bewatermyfriend.org>2013-10-21 17:40:13 +0200
commit95a5ca90d9fbc925157471dd38437d8a16b853b1 (patch)
treefa8a74f725b5cfa99d1d4c2c8cd589dcfc013f3a /Completion
parent3d77fa789d80d361d07ede1c2588500742fc2860 (diff)
downloadzsh-95a5ca90d9fbc925157471dd38437d8a16b853b1.tar.gz
zsh-95a5ca90d9fbc925157471dd38437d8a16b853b1.tar.xz
zsh-95a5ca90d9fbc925157471dd38437d8a16b853b1.zip
31865: _git: Make --batch(-check) accept an argument
Also reword the explanation slightly to make it more compact since more
explanation is needed.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_git4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 0f41acb32..119a705f6 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -4192,8 +4192,8 @@ _git-cat-file () {
     '(- 1)-e[exit with zero status if object exists]' \
     '(- 1)-p[pretty-print given object]' \
     '(- 1)--textconv[show content as transformed by a textconv filter]' \
-    '(- :)--batch[print SHA1, type, size, and contents of each object provided on stdin]' \
-    '(- :)--batch-check[print SHA1, type, and size of each object provided on stdin]' \
+    '(- :)--batch=-[print SHA1, type, size and contents (or in <format>) of objects given on stdin]:format' \
+    '(- :)--batch-check=-[print SHA1, type and size (or in <format>) of objects given on stdin]:format' \
     '(-):object type:(blob commit tag tree)' \
     ': :__git_objects'
 }