diff options
Diffstat (limited to 'completions/cleanarch')
-rw-r--r-- | completions/cleanarch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/cleanarch b/completions/cleanarch index 5e57e5be..0f7d5f57 100644 --- a/completions/cleanarch +++ b/completions/cleanarch @@ -5,12 +5,12 @@ _cleanarch() local cur prev words cword _init_completion || return - if [[ "$cur" == -* ]]; then - COMPREPLY=( $(compgen -W '--status --dry-run --quiet --help' \ - -- "$cur") ) + if [[ $cur == -* ]]; then + COMPREPLY=($(compgen -W '--status --dry-run --quiet --help' \ + -- "$cur")) fi } && -complete -F _cleanarch cleanarch + complete -F _cleanarch cleanarch # ex: filetype=sh |