summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2009-04-04 14:53:01 +0000
committerClint Adams <clint@users.sourceforge.net>2009-04-04 14:53:01 +0000
commit5f26203583ba19dc71a29b97a6fd35ad4da37375 (patch)
treeaff791c72f1c504061ce545688b3dc0c12a809c7 /Completion/Unix/Command
parent1e7c14ee356892a5f3576322b44f2724c9b73f5f (diff)
downloadzsh-5f26203583ba19dc71a29b97a6fd35ad4da37375.tar.gz
zsh-5f26203583ba19dc71a29b97a6fd35ad4da37375.tar.xz
zsh-5f26203583ba19dc71a29b97a6fd35ad4da37375.zip
Simon Ruderich: 26800: Completion/Unix/Command/_git: fixes for "git add" completion.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_git6
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 8c414b83f..d10492aa2 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1331,9 +1331,9 @@ _git-add () {
     '(-v --verbose)'{-v,--verbose}'[show files as they are added]' \
     '(-f --force)'{-f,--force}'[allow adding otherwise ignored files]' \
     '(-i --interactive : -)'{-i,--interactive}'[add contents interactively to the index]' \
-    '(-p --patch : -)'{-p,--patch}'[like -i but go directly into patch mode for specified files]' \
-    '(-u --update)'{-u,--update}'[update only files git already knows about]' \
-    '(-A --all)'{-A,--all}'[act as both add . and add -u]' \
+    '(-p --patch)'{-p,--patch}'[like -i but go directly into patch mode for specified files]' \
+    '(-u --update -A --all)'{-u,--update}'[update only files git already knows about]' \
+    '(-A --all -u --update)'{-A,--all}'[act as both add . and add -u]' \
     '(-N --intent-to-add)'{-N,--intent-to-add}'[record only that the path will be added later]' \
     '--refresh[do not add files, but refresh their stat() info in the index]' \
     '--ignore-errors[continue adding if an error occurs]' \