Updated msys2 to msys2-base-x86_64-20200903

This commit is contained in:
Gator96100 2020-09-07 18:14:14 +02:00
commit 2307d54cb1
18501 changed files with 1684082 additions and 720361 deletions

View file

@ -24,12 +24,12 @@ _udevadm()
return
;;
--log-priority)
COMPREPLY=( $( compgen -W 'err info debug' -- "$cur" ) )
COMPREPLY=( $(compgen -W 'err info debug' -- "$cur") )
return
;;
--query)
COMPREPLY=( $( compgen -W 'name symlink path property all' \
-- "$cur" ) )
COMPREPLY=( $(compgen -W 'name symlink path property all' \
-- "$cur") )
return
;;
--name)
@ -42,11 +42,11 @@ _udevadm()
return
;;
--action)
COMPREPLY=( $( compgen -W 'add change remove' -- "$cur" ) )
COMPREPLY=( $(compgen -W 'add change remove' -- "$cur") )
return
;;
--type)
COMPREPLY=( $( compgen -W 'devices subsystems failed' -- "$cur" ) )
COMPREPLY=( $(compgen -W 'devices subsystems failed' -- "$cur") )
return
;;
esac
@ -56,21 +56,19 @@ _udevadm()
if [[ -z $udevcmd ]]; then
case $cur in
-*)
COMPREPLY=( $( compgen -W '--help --version --debug' -- \
"$cur" ) )
COMPREPLY=( $(compgen -W '--help --version --debug' -- "$cur") )
;;
*)
COMPREPLY=( $( compgen -W "$( "$1" --help 2>/dev/null |
awk '/^[ \t]/ { print $1 }' )" -- "$cur" ) )
COMPREPLY=( $(compgen -W "$("$1" --help 2>/dev/null |
awk '/^[ \t]/ { print $1 }')" -- "$cur") )
;;
esac
return
fi
if [[ $cur == -* ]]; then
COMPREPLY=( $( compgen -W \
'$( "$1" $udevcmd --help 2>/dev/null | _parse_help - )' \
-- "$cur" ) )
COMPREPLY=( $(compgen -W \
'$("$1" $udevcmd --help 2>/dev/null | _parse_help -)' -- "$cur") )
[[ $COMPREPLY == *= ]] && compopt -o nospace
fi
} &&