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
|
@ -16,12 +16,12 @@ _vpnc()
|
|||
return
|
||||
;;
|
||||
--vendor)
|
||||
COMPREPLY=( $( compgen -W 'cisco netscreen' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'cisco netscreen' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--natt-mode)
|
||||
COMPREPLY=( $( compgen -W 'natt none force-natt cisco-udp' \
|
||||
-- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'natt none force-natt cisco-udp' \
|
||||
-- "$cur") )
|
||||
return
|
||||
;;
|
||||
--script|--pid-file|--ca-file)
|
||||
|
@ -29,23 +29,23 @@ _vpnc()
|
|||
return
|
||||
;;
|
||||
--dh)
|
||||
COMPREPLY=( $( compgen -W 'dh1 dh2 dh5' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'dh1 dh2 dh5' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--pfs)
|
||||
COMPREPLY=( $( compgen -W 'nopfs dh1 dh2 dh5 server' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'nopfs dh1 dh2 dh5 server' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--ifmode)
|
||||
COMPREPLY=( $( compgen -W 'tun tap' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'tun tap' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--debug)
|
||||
COMPREPLY=( $( compgen -W '0 1 2 3 99' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '0 1 2 3 99' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--auth-mode)
|
||||
COMPREPLY=( $( compgen -W 'psk cert hybrid' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'psk cert hybrid' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--ca-dir)
|
||||
|
@ -54,14 +54,13 @@ _vpnc()
|
|||
;;
|
||||
--password-helper)
|
||||
compopt -o filenames
|
||||
COMPREPLY=( $( compgen -c -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -c -- "$cur") )
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" --long-help )' \
|
||||
-- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '$(_parse_help "$1" --long-help)' -- "$cur") )
|
||||
elif [[ "$cur" == */* ]]; then
|
||||
# explicit filename
|
||||
_filedir conf
|
||||
|
@ -74,7 +73,7 @@ _vpnc()
|
|||
$reset
|
||||
IFS=$'\n'
|
||||
compopt -o filenames
|
||||
COMPREPLY=( $( compgen -W '${configs[@]}' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '${configs[@]}' -- "$cur") )
|
||||
fi
|
||||
} &&
|
||||
complete -F _vpnc vpnc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue