aboutsummaryrefslogtreecommitdiff
path: root/bash-completion.bash
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-06-09 11:30:24 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-06-09 11:30:24 -0400
commita7d1d1d76ce2f776b976b64e74b822cef8b98fe2 (patch)
tree0e1a1848f8e304743774cff324576e5d5d0f11cc /bash-completion.bash
parent5e1a8864089be4032e7170130bc7e77132601599 (diff)
update from optparse-applicative output
Fix local to use right case, and merge in IFS setting from a more recent version of optparse-applicative.
Diffstat (limited to 'bash-completion.bash')
-rw-r--r--bash-completion.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/bash-completion.bash b/bash-completion.bash
index 11f9ff810..f0c8818e1 100644
--- a/bash-completion.bash
+++ b/bash-completion.bash
@@ -3,7 +3,8 @@
# commands, all options, and will never go out of date!
_git-annex()
{
- local cmdline
+ local CMDLINE
+ local IFS=$'\n'
CMDLINE=(--bash-completion-index $COMP_CWORD)
for arg in ${COMP_WORDS[@]}; do