summaryrefslogtreecommitdiff
path: root/completions/cfagent
diff options
context:
space:
mode:
Diffstat (limited to 'completions/cfagent')
-rw-r--r--completions/cfagent8
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/cfagent b/completions/cfagent
index 14987723..e7ba04de 100644
--- a/completions/cfagent
+++ b/completions/cfagent
@@ -6,16 +6,16 @@ _cfagent()
_init_completion || return
case $prev in
- -f|--file)
+ -f | --file)
_filedir
return
;;
esac
- if [[ "$cur" == -* ]]; then
- COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
+ if [[ $cur == -* ]]; then
+ COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
fi
} &&
-complete -F _cfagent cfagent
+ complete -F _cfagent cfagent
# ex: filetype=sh