mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-20 05:13:25 -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
|
@ -6,21 +6,21 @@ _iscsiadm()
|
|||
_init_completion -s || return
|
||||
|
||||
case $prev in
|
||||
-m|--mode)
|
||||
COMPREPLY=( $( compgen -W 'discovery node session iface fw host' \
|
||||
-- "$cur" ) )
|
||||
--mode|-!(-*)m)
|
||||
COMPREPLY=( $(compgen -W 'discovery node session iface fw host' \
|
||||
-- "$cur") )
|
||||
return
|
||||
;;
|
||||
-o|--op)
|
||||
COMPREPLY=( $( compgen -W 'new delete update show' -- "$cur" ) )
|
||||
--op|-!(-*)o)
|
||||
COMPREPLY=( $(compgen -W 'new delete update show' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
-t|--type)
|
||||
COMPREPLY=( $( compgen -W 'sendtargets st slp isns fw' -- "$cur" ) )
|
||||
--type|-!(-*)t)
|
||||
COMPREPLY=( $(compgen -W 'sendtargets st slp isns fw' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
-L|-U|--loginall|--logoutall)
|
||||
COMPREPLY=( $( compgen -W 'all manual automatic' -- "$cur" ) )
|
||||
--loginall|--logoutall|-!(-*)[LU])
|
||||
COMPREPLY=( $(compgen -W 'all manual automatic' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
@ -28,7 +28,7 @@ _iscsiadm()
|
|||
$split && return
|
||||
|
||||
local options
|
||||
if [[ $cword -gt 1 ]] ; then
|
||||
if [[ $cword -gt 1 ]]; then
|
||||
|
||||
case ${words[2]} in
|
||||
discovery)
|
||||
|
@ -59,7 +59,7 @@ _iscsiadm()
|
|||
options='--mode'
|
||||
fi
|
||||
|
||||
COMPREPLY=( $( compgen -W "$options" -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W "$options" -- "$cur") )
|
||||
} &&
|
||||
complete -F _iscsiadm iscsiadm
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue