summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2002-03-19 14:38:36 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2002-03-19 14:38:36 +0000
commitc4bc7124328cf4edd7b12b2ffe37e2fb108db864 (patch)
tree765ae7b14be237cbf3458c34686a63ed8f6a552e
parentf40278ec0b45c31211782c3fcd6eff9515de7f63 (diff)
downloadzsh-c4bc7124328cf4edd7b12b2ffe37e2fb108db864.tar.gz
zsh-c4bc7124328cf4edd7b12b2ffe37e2fb108db864.tar.xz
zsh-c4bc7124328cf4edd7b12b2ffe37e2fb108db864.zip
arg to -C option must be in the same word
-rw-r--r--Completion/Unix/Command/_grep2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_grep b/Completion/Unix/Command/_grep
index 98b4256f8..6d39c1ae0 100644
--- a/Completion/Unix/Command/_grep
+++ b/Completion/Unix/Command/_grep
@@ -30,7 +30,7 @@ arguments=( $arguments[@]
   '(--after-context -A)'{--after-context=,-A+}'[specify lines of trailing context]:lines'
   '(--text -a --binary-files -I)'{--text,-a}'[process binary file as if it were text]'
   '(--before-context -B)'{--before-context=,-B+}'[specify lines of leading context]:lines'
-  '(--context,-C)'{--context=,-C+}'[specify lines of context]:lines'
+  '(--context,-C)'{--context=,-C-}'[specify lines of context]:lines'
   '(--color --colour)--'{color,colour}'=-[distinguish matching string]::when:(always never auto)'
   '(--byte-offset -b -c)'{--byte-offset,-b}'[print the byte offset with output lines]'
   '(--text -a -I)--binary-files=[specify type to assume for binary files]:file type:(binary without-match text)'