From adf4e09e0a73343f42ac84ba79ac82f39c02ed17 Mon Sep 17 00:00:00 2001 From: Aaron Schrab Date: Wed, 22 Aug 2012 21:24:59 -0400 Subject: [PATCH] Ack _arguments call should use -s and -S Several single-character options may be specified in a single argument, so -s should be used. "--" specifies that there are no further options, so -S should be used. --- src/_ack | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_ack b/src/_ack index b2d11ab..71fe6c6 100644 --- a/src/_ack +++ b/src/_ack @@ -54,7 +54,7 @@ _ack() { [[ $#_ack_raw_types -gt 0 ]] && _store_cache "ack-grep" _ack_raw_types fi - _arguments -C \ + _arguments -C -s -S \ '(- 1 *)--version[display version and copyright information]' \ '(- 1 *)--help[print a short help statement]' \ '(- 1 *)--man[print the manual page]' \