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/config_list | |
parent | 019f3cc463db63abc6460f97deb488deec43840b (diff) | |
download | bash-completion-3f3e0627fa0e1521391adec3d037f6f57772c8a1.tar.gz |
New upstream version 2.11upstream/2.11upstream
Diffstat (limited to 'completions/config_list')
-rw-r--r-- | completions/config_list | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/completions/config_list b/completions/config_list index f86263d7..1807e338 100644 --- a/completions/config_list +++ b/completions/config_list @@ -6,7 +6,7 @@ _config_list() _init_completion -s || return case $prev in - -i|-o|--inputfile|--outputfile) + -i | -o | --inputfile | --outputfile) _filedir return ;; @@ -14,14 +14,14 @@ _config_list() $split && return - if [[ "$cur" == -* ]]; then - COMPREPLY=( $(compgen -W '--inputfile --outputfile --checkonly - --verbose --help' -- "$cur") ) + if [[ $cur == -* ]]; then + COMPREPLY=($(compgen -W '--inputfile --outputfile --checkonly + --verbose --help' -- "$cur")) else _xfunc list_lists _mailman_lists fi } && -complete -F _config_list config_list + complete -F _config_list config_list # ex: filetype=sh |