summaryrefslogtreecommitdiff
path: root/completions/xzdec
diff options
context:
space:
mode:
Diffstat (limited to 'completions/xzdec')
-rw-r--r--completions/xzdec10
1 files changed, 5 insertions, 5 deletions
diff --git a/completions/xzdec b/completions/xzdec
index fc32492e..5475a8e2 100644
--- a/completions/xzdec
+++ b/completions/xzdec
@@ -8,24 +8,24 @@ _xzdec()
case $prev in
-M|--memory)
# argument required but no completions available
- return 0
+ return
;;
-h|--help|-V|--version)
# all other arguments are noop with these
- return 0
+ return
;;
esac
- $split && return 0
+ $split && return
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
[[ $COMPREPLY == *= ]] && compopt -o nospace
- return 0
+ return
fi
_filedir xz # no lzma support here as of xz 4.999.9beta
} &&
complete -F _xzdec xzdec
-# ex: ts=4 sw=4 et filetype=sh
+# ex: filetype=sh