mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-20 05:13:25 -07:00
Msys2 base update to msys2-base-x86_64-20210215
This commit is contained in:
parent
371b063635
commit
8f57ce888b
4308 changed files with 50038 additions and 28648 deletions
|
@ -12,11 +12,11 @@ _svnadmin()
|
|||
commands='create deltify dump help ? hotcopy list-dblogs list-unused-dblogs
|
||||
load lslocks lstxns recover rmlocks rmtxns setlog verify'
|
||||
|
||||
if [[ $cword -eq 1 ]]; then
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $(compgen -W '--version' -- "$cur") )
|
||||
if ((cword == 1)); then
|
||||
if [[ $cur == -* ]]; then
|
||||
COMPREPLY=($(compgen -W '--version' -- "$cur"))
|
||||
else
|
||||
COMPREPLY=( $(compgen -W "$commands" -- "$cur") )
|
||||
COMPREPLY=($(compgen -W "$commands" -- "$cur"))
|
||||
fi
|
||||
else
|
||||
case $prev in
|
||||
|
@ -25,14 +25,14 @@ _svnadmin()
|
|||
return
|
||||
;;
|
||||
--fs-type)
|
||||
COMPREPLY=( $(compgen -W 'fsfs bdb' -- "$cur") )
|
||||
COMPREPLY=($(compgen -W 'fsfs bdb' -- "$cur"))
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
local command=${words[1]}
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
if [[ $cur == -* ]]; then
|
||||
# possible options for the command
|
||||
local options
|
||||
case $command in
|
||||
|
@ -62,10 +62,10 @@ _svnadmin()
|
|||
esac
|
||||
|
||||
options+=" --help"
|
||||
COMPREPLY=( $(compgen -W "$options" -- "$cur") )
|
||||
COMPREPLY=($(compgen -W "$options" -- "$cur"))
|
||||
else
|
||||
if [[ "$command" == @(help|[h?]) ]]; then
|
||||
COMPREPLY=( $(compgen -W "$commands" -- "$cur") )
|
||||
if [[ $command == @(help|[h?]) ]]; then
|
||||
COMPREPLY=($(compgen -W "$commands" -- "$cur"))
|
||||
else
|
||||
_filedir
|
||||
fi
|
||||
|
@ -73,6 +73,6 @@ _svnadmin()
|
|||
fi
|
||||
|
||||
} &&
|
||||
complete -F _svnadmin -o default svnadmin
|
||||
complete -F _svnadmin -o default svnadmin
|
||||
|
||||
# ex: filetype=sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue