completions/bash: add flags for create

Sorts flags also.
This commit is contained in:
tikuta 2020-04-26 21:25:07 +09:00
parent bfa175d118
commit c6545687ea

View File

@ -147,7 +147,25 @@ _brew_create() {
local cur="${COMP_WORDS[COMP_CWORD]}" local cur="${COMP_WORDS[COMP_CWORD]}"
case "$cur" in case "$cur" in
-*) -*)
__brewcomp "--autotools --cmake --meson --no-fetch --HEAD --set-name --set-version --tap --force --verbose --debug --help" __brewcomp "
--HEAD
--autotools
--cmake
--debug
--force
--go
--help
--meson
--no-fetch
--perl
--python
--ruby
--rust
--set-name
--set-version
--tap
--verbose
"
return return
;; ;;
esac esac