Skip to content

Commit

Permalink
Fix bash autocompletion
Browse files Browse the repository at this point in the history
It seems that bebdd56 didn't revert fully #2737
  • Loading branch information
bcardiff committed Apr 3, 2019
1 parent 79406cb commit 18af71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/completion.bash
Expand Up @@ -24,7 +24,7 @@ _crystal()
COMPREPLY=( $(compgen -f ${cur}) )
fi
;;
compile)
build)
if [[ ${cur} == -* ]] ; then
local opts="--cross-compile --debug --emit --ll --link-flags --mcpu --no-color --no-codegen --prelude --release --single-module --threads --target --verbose --help"
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
Expand Down

0 comments on commit 18af71d

Please sign in to comment.