update from optparse-applicative output

Fix local to use right case, and merge in IFS setting from a more recent
version of optparse-applicative.
This commit is contained in:
Joey Hess 2017-06-09 11:30:24 -04:00
parent 28b80599e2
commit c6f087829e
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -3,7 +3,8 @@
# commands, all options, and will never go out of date! # commands, all options, and will never go out of date!
_git-annex() _git-annex()
{ {
local cmdline local CMDLINE
local IFS=$'\n'
CMDLINE=(--bash-completion-index $COMP_CWORD) CMDLINE=(--bash-completion-index $COMP_CWORD)
for arg in ${COMP_WORDS[@]}; do for arg in ${COMP_WORDS[@]}; do