summaryrefslogtreecommitdiff
path: root/completions/automake
diff options
context:
space:
mode:
Diffstat (limited to 'completions/automake')
-rw-r--r--completions/automake12
1 files changed, 6 insertions, 6 deletions
diff --git a/completions/automake b/completions/automake
index 78bc6db2..c5fe1a10 100644
--- a/completions/automake
+++ b/completions/automake
@@ -7,21 +7,21 @@ _automake()
case "$prev" in
--help|--version)
- return 0
+ return
;;
--warnings|-W)
local cats=( gnu obsolete override portability syntax unsupported )
COMPREPLY=( $( compgen -W \
'${cats[@]} ${cats[@]/#/no-} all none error' -- "$cur" ) )
- return 0
+ return
;;
--libdir)
_filedir -d
- return 0
+ return
;;
esac
- $split && return 0
+ $split && return
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
@@ -31,6 +31,6 @@ _automake()
_filedir
} &&
-complete -F _automake automake automake-1.11
+complete -F _automake automake automake-1.1{0..5}
-# ex: ts=4 sw=4 et filetype=sh
+# ex: filetype=sh