summaryrefslogtreecommitdiff
path: root/completions/xxd
diff options
context:
space:
mode:
Diffstat (limited to 'completions/xxd')
-rw-r--r--completions/xxd6
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/xxd b/completions/xxd
index f6bcb4a2..a470bb0d 100644
--- a/completions/xxd
+++ b/completions/xxd
@@ -6,18 +6,18 @@ _xxd()
_init_completion || return
case $prev in
- -h|-help|-c|-cols|-g|-groupsize|-l|-len|-s|-seek|-v|-version)
+ -h | -help | -c | -cols | -g | -groupsize | -l | -len | -s | -seek | -v | -version)
return
;;
esac
if [[ $cur == -* ]]; then
- COMPREPLY=( $(compgen -W '$(_parse_help "$1" -h)' -- "$cur") )
+ COMPREPLY=($(compgen -W '$(_parse_help "$1" -h)' -- "$cur"))
return
fi
_filedir
} &&
-complete -F _xxd xxd
+ complete -F _xxd xxd
# ex: filetype=sh