diff options
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 |