prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-a'|'--algorithm')
- COMPREPLY=( $(compgen -W "lzo lz4" -- $cur) )
+ COMPREPLY=( $(compgen -W "lzo lz4 lz4hc deflate 842" -- $cur) )
return 0
;;
'-o'|'--output')
MIGRATED MOUNTPOINT"
for WORD in $OUTPUT_ALL; do
if ! [[ $prefix == *"$WORD"* ]]; then
- OUTPUT="$WORD $OUTPUT"
+ OUTPUT="$WORD ${OUTPUT:-""}"
fi
done
compopt -o nospace
--find
--noheadings
--output
+ --output-all
--raw
--reset
--size