Updated msys2

This commit is contained in:
gator96100 2019-08-16 02:06:21 +02:00
commit f0dc1ea8b0
13308 changed files with 689276 additions and 46605 deletions

View file

@ -5,7 +5,11 @@ _fsck.cramfs_module()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-x'|'--destination')
'-b'|'--blocksize')
COMPREPLY=( $(compgen -W "size" -- $cur) )
return 0
;;
'--extract')
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -o dirnames -- ${cur:-"/"}) )
@ -15,8 +19,15 @@ _fsck.cramfs_module()
return 0
;;
esac
OPTS='--verbose --destination --help --version file'
COMPREPLY=( $(compgen -W "${OPTS[*]}" -S ' ' -- $cur) )
case $cur in
-*)
COMPREPLY=( $(compgen -W "--verbose --blocksize --extract --help --version" -- $cur) )
return 0
;;
esac
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
}
complete -F _fsck.cramfs_module fsck.cramfs