summaryrefslogtreecommitdiff
path: root/completions/portsnap
diff options
context:
space:
mode:
Diffstat (limited to 'completions/portsnap')
-rw-r--r--completions/portsnap8
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/portsnap b/completions/portsnap
index f865183b..a2f0a936 100644
--- a/completions/portsnap
+++ b/completions/portsnap
@@ -8,18 +8,18 @@ _portsnap()
_init_completion || return
case $prev in
- -d|-p)
+ -d | -p)
_filedir -d
return
;;
- -l|-f)
+ -l | -f)
_filedir
return
;;
esac
- COMPREPLY=( $(compgen -W "fetch cron extract update" -- $cur) )
+ COMPREPLY=($(compgen -W "fetch cron extract update" -- $cur))
} &&
-complete -F _portsnap portsnap
+ complete -F _portsnap portsnap
# ex: filetype=sh