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.
This commit is contained in:
Aaron Schrab 2012-08-22 21:24:59 -04:00
parent 3a74489124
commit adf4e09e0a
1 changed files with 1 additions and 1 deletions

View File

@ -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]' \