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:
parent
3a74489124
commit
adf4e09e0a
2
src/_ack
2
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]' \
|
||||
|
|
Loading…
Reference in New Issue