summaryrefslogtreecommitdiff
path: root/completions/gnatmake
diff options
context:
space:
mode:
Diffstat (limited to 'completions/gnatmake')
-rw-r--r--completions/gnatmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/gnatmake b/completions/gnatmake
index 383bb9b4..5f4b9639 100644
--- a/completions/gnatmake
+++ b/completions/gnatmake
@@ -6,21 +6,21 @@ _gnatmake()
local cur prev words cword
_init_completion || return
- if [[ "$cur" == -* ]]; then
+ if [[ $cur == -* ]]; then
# relevant (and less relevant ;-) )options completion
- COMPREPLY=( $(compgen -W '-a -c -f -i -j -k -m -M -n -o -q -s -v -z
+ COMPREPLY=($(compgen -W '-a -c -f -i -j -k -m -M -n -o -q -s -v -z
-aL -A -aO -aI -I -I- -L -nostdinc -nostdlib -cargs -bargs -largs
-fstack-check -fno-inline -g -O1 -O0 -O2 -O3 -gnata -gnatA -gnatb
-gnatc -gnatd -gnatD -gnate -gnatE -gnatf -gnatF -gnatg -gnatG
-gnath -gnati -gnatk -gnatl -gnatL -gnatm -gnatn -gnato -gnatO
-gnatp -gnatP -gnatq -gnatR -gnats -gnatt -gnatT -gnatu -gnatU
-gnatv -gnatws -gnatwe -gnatwl -gnatwu -gnatW -gnatx -gnatX -gnaty
- -gnatz -gnatZ -gnat83' -- "$cur") )
+ -gnatz -gnatZ -gnat83' -- "$cur"))
else
# source file completion
_filedir '@(adb|ads)'
fi
} &&
-complete -F _gnatmake gnatmake
+ complete -F _gnatmake gnatmake
# ex: filetype=sh