summaryrefslogtreecommitdiff
path: root/completions/e2freefrag
diff options
context:
space:
mode:
Diffstat (limited to 'completions/e2freefrag')
-rw-r--r--completions/e2freefrag8
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/e2freefrag b/completions/e2freefrag
index 355ebb94..c89dc9cb 100644
--- a/completions/e2freefrag
+++ b/completions/e2freefrag
@@ -6,19 +6,19 @@ _e2freefrag()
_init_completion || return
case $prev in
- -c|-h)
+ -c | -h)
return
;;
esac
- if [[ "$cur" == -* ]]; then
- COMPREPLY=( $(compgen -W '$(_parse_usage "$1" -h)' -- "$cur") )
+ if [[ $cur == -* ]]; then
+ COMPREPLY=($(compgen -W '$(_parse_usage "$1" -h)' -- "$cur"))
return
fi
cur=${cur:=/dev/}
_filedir
} &&
-complete -F _e2freefrag e2freefrag
+ complete -F _e2freefrag e2freefrag
# ex: filetype=sh