diff options
author | Gabriel F. T. Gomes <gabriel@inconstante.net.br> | 2020-08-03 18:43:13 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gabriel@inconstante.net.br> | 2020-08-03 18:43:13 -0300 |
commit | 95623d39d6029ba78ec96ad5ea08e9ac12629b91 (patch) | |
tree | ea0fe36eb5e6f40e0a1f765d44c4b0c0b2bfb089 /completions/wsimport | |
parent | 019f3cc463db63abc6460f97deb488deec43840b (diff) | |
download | bash-completion-95623d39d6029ba78ec96ad5ea08e9ac12629b91.tar.gz |
New upstream version 2.11upstream/2.11upstream
Diffstat (limited to 'completions/wsimport')
-rw-r--r-- | completions/wsimport | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/completions/wsimport b/completions/wsimport index 406a47d7..d5bec9fe 100644 --- a/completions/wsimport +++ b/completions/wsimport @@ -6,7 +6,7 @@ _wsimport() _init_completion -n : || return case $prev in - -help|-version|-B|-p|-wsdllocation) + -help | -version | -B | -p | -wsdllocation) return ;; -b) @@ -17,12 +17,12 @@ _wsimport() _filedir '@(xml|soc|catalog)' return ;; - -d|–s) + -d | –s) _filedir -d return ;; -target) - COMPREPLY=( $(compgen -W '2.0 2.1 2.2' -- "$cur") ) + COMPREPLY=($(compgen -W '2.0 2.1 2.2' -- "$cur")) return ;; -clientjar) @@ -35,14 +35,14 @@ _wsimport() _known_hosts_real -- "${cur#-httpproxy:}" return elif [[ $cur == -* ]]; then - COMPREPLY=( $(compgen -W '$(_parse_help "$1" -help)' -- "$cur") ) - [[ $COMPREPLY == *: ]] && compopt -o nospace + COMPREPLY=($(compgen -W '$(_parse_help "$1" -help)' -- "$cur")) + [[ ${COMPREPLY-} == *: ]] && compopt -o nospace __ltrim_colon_completions "$cur" return fi _filedir wsdl } && -complete -F _wsimport wsimport + complete -F _wsimport wsimport # ex: filetype=sh |