summaryrefslogtreecommitdiff
path: root/completions/xzdec
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.eti.br>2017-09-25 23:46:54 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>2017-09-25 23:46:54 -0300
commit6d88f1055806932d9291f96847d2b691cccda2cd (patch)
tree0ff79eedaa8a239331256048981deedbd0721965 /completions/xzdec
parent059a87a5936cfebfd2d71ab8057002cafb2ea051 (diff)
downloadbash-completion-6d88f1055806932d9291f96847d2b691cccda2cd.tar.gz
New upstream version 2.7upstream/2.7
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