mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-14 02:27:03 -07:00
Updated msys2 to msys2-base-x86_64-20200903
This commit is contained in:
parent
5bc8dbdc75
commit
2307d54cb1
18501 changed files with 1684082 additions and 720361 deletions
|
@ -2,8 +2,7 @@
|
|||
|
||||
_cryptsetup_name()
|
||||
{
|
||||
COMPREPLY=( $( compgen -X control -W '$( command ls /dev/mapper )' \
|
||||
-- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -X control -W '$(command ls /dev/mapper)' -- "$cur") )
|
||||
}
|
||||
|
||||
_cryptsetup_device()
|
||||
|
@ -18,10 +17,18 @@ _cryptsetup()
|
|||
_init_completion -s || return
|
||||
|
||||
case $prev in
|
||||
--key-file|--master-key-file|--header-backup-file|-d)
|
||||
--help|--version|--cipher|--hash|--*-size|--key-slot|--size|--offset|\
|
||||
--skip|--iter-time|--timeout|--tries|-!(-*)[chslSbopitT])
|
||||
return
|
||||
;;
|
||||
--key-file|--master-key-file|--header-backup-file|-!(-*)d)
|
||||
_filedir
|
||||
return
|
||||
;;
|
||||
--type|-!(-*)M)
|
||||
COMPREPLY=( $(compgen -W "luks plain loopaes tcrypt" -- "$cur") )
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
$split && return
|
||||
|
@ -30,17 +37,16 @@ _cryptsetup()
|
|||
_get_first_arg
|
||||
if [[ -z $arg ]]; then
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
|
||||
[[ $COMPREPLY == *= ]] && compopt -o nospace
|
||||
else
|
||||
COMPREPLY=( $( compgen -W 'open close resize status benchmark
|
||||
COMPREPLY=( $(compgen -W 'open close resize status benchmark
|
||||
repair erase luksFormat luksAddKey luksRemoveKey luksChangeKey
|
||||
luksKillSlot luksUUID isLuks luksDump tcryptDump luksSuspend
|
||||
luksResume luksHeaderBackup luksHeaderRestore' -- "$cur" ) )
|
||||
luksResume luksHeaderBackup luksHeaderRestore' -- "$cur") )
|
||||
fi
|
||||
else
|
||||
local args
|
||||
_count_args
|
||||
local args; _count_args "" "-!(-*)[chslSbopitTdM]"
|
||||
case $arg in
|
||||
open|create|luksOpen|loopaesOpen|tcryptOpen)
|
||||
case $args in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue