summary refs log tree commit diff
diff options
context:
space:
mode:
authorØystein Walle <oystwa@gmail.com>2014-09-16 10:28:08 +0200
committerFrank Terbeck <ft@bewatermyfriend.org>2014-09-23 22:26:20 +0200
commit56116a763aafc599a3f193223013ae1c243b6904 (patch)
tree03103ab9ac0585bf9b6772941dae2bf8dc7e633b
parent8560d4ff316cdf75dcd16cd8f4a30f77f9779681 (diff)
downloadzsh-56116a763aafc599a3f193223013ae1c243b6904.tar.gz
zsh-56116a763aafc599a3f193223013ae1c243b6904.tar.xz
zsh-56116a763aafc599a3f193223013ae1c243b6904.zip
33176: _git: Add missing --list to git-tag
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_git2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a40b5d444..42173e04b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 
 	* 33179: Completion/Unix/Command/_git: _git: updates for Git 2.0.0
 
+	* 33176: Completion/Unix/Command/_git: _git: Add missing --list to
+	git-tag
+
 2014-09-23  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* unposted: NEWS: more minor tweaks.
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index f3d4f6a34..202ada992 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1763,7 +1763,7 @@ _git-tag () {
       '*:: :__git_ignore_line_inside_arguments __git_tags' \
     - listing \
       '-n+[limit line output of annotation]: :__git_guard_number "limit"' \
-      '-l[list tags matching pattern]' \
+      '(-l --list)'{-l,--list}'[list tags matching pattern]' \
       '(--no-column)--column=-[display tag listing in columns]::column.tag option:((always\:"always show in columns" never\:"never show in columns" auto\:"show in columns if the output is to the terminal" column\:"fill columns before rows (default)" row\:"fill rows before columns" plain\:"show in one column" dense\:"make unequal size columns to utilize more space" nodense\:"make equal size columns"))' \
       '(--column)--no-column[do not display in columns]' \
       '--contains=[only list tags which contain the specified commit]: :__git_commits' \