summaryrefslogtreecommitdiff
path: root/completions/idn
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.net.br>2020-08-03 18:43:13 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.net.br>2020-08-03 18:43:13 -0300
commit95623d39d6029ba78ec96ad5ea08e9ac12629b91 (patch)
treeea0fe36eb5e6f40e0a1f765d44c4b0c0b2bfb089 /completions/idn
parent019f3cc463db63abc6460f97deb488deec43840b (diff)
downloadbash-completion-95623d39d6029ba78ec96ad5ea08e9ac12629b91.tar.gz
New upstream version 2.11upstream/2.11upstream
Diffstat (limited to 'completions/idn')
-rw-r--r--completions/idn14
1 files changed, 7 insertions, 7 deletions
diff --git a/completions/idn b/completions/idn
index 39d13021..8023f8fd 100644
--- a/completions/idn
+++ b/completions/idn
@@ -6,21 +6,21 @@ _idn()
_init_completion -s || return
case $prev in
- --help|--version|-!(-*)[hV])
+ --help | --version | -!(-*)[hV])
return
;;
- --profile|-!(-*)p)
- COMPREPLY=( $(compgen -W 'Nameprep iSCSI Nodeprep Resourceprep
- trace SASLprep' -- "$cur") )
+ --profile | -!(-*)p)
+ COMPREPLY=($(compgen -W 'Nameprep iSCSI Nodeprep Resourceprep
+ trace SASLprep' -- "$cur"))
return
;;
esac
if ! $split && [[ $cur == -* ]]; then
- COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
- [[ $COMPREPLY == *= ]] && compopt -o nospace
+ COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
+ [[ ${COMPREPLY-} == *= ]] && compopt -o nospace
fi
} &&
-complete -F _idn idn
+ complete -F _idn idn
# ex: filetype=sh