summaryrefslogtreecommitdiff
path: root/completions/autoreconf
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.eti.br>2017-09-25 23:46:54 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>2017-09-25 23:46:54 -0300
commit6d88f1055806932d9291f96847d2b691cccda2cd (patch)
tree0ff79eedaa8a239331256048981deedbd0721965 /completions/autoreconf
parent059a87a5936cfebfd2d71ab8057002cafb2ea051 (diff)
downloadbash-completion-6d88f1055806932d9291f96847d2b691cccda2cd.tar.gz
New upstream version 2.7upstream/2.7
Diffstat (limited to 'completions/autoreconf')
-rw-r--r--completions/autoreconf12
1 files changed, 6 insertions, 6 deletions
diff --git a/completions/autoreconf b/completions/autoreconf
index 8de40c88..c067cec1 100644
--- a/completions/autoreconf
+++ b/completions/autoreconf
@@ -7,27 +7,27 @@ _autoreconf()
case "$prev" in
--help|-h|--version|-V)
- return 0
+ return
;;
--warnings|-W)
local cats=( cross gnu obsolete override portability syntax \
unsupported )
COMPREPLY=( $( compgen -W \
'${cats[@]} ${cats[@]/#/no-} all none error' -- "$cur" ) )
- return 0
+ return
;;
--prepend-include|-B|--include|-I)
_filedir -d
- return 0
+ return
;;
esac
- $split && return 0
+ $split && return
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
[[ $COMPREPLY == *= ]] && compopt -o nospace
- return 0
+ return
fi
if [[ $1 == autoheader ]] ; then
@@ -38,4 +38,4 @@ _autoreconf()
} &&
complete -F _autoreconf autoreconf autoheader
-# ex: ts=4 sw=4 et filetype=sh
+# ex: filetype=sh