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

@ -9,27 +9,27 @@ _usermod()
# with -u/--uid
case $prev in
-c|--comment|-d|--home|-e|--expiredate|-f|--inactive|-h|--help|\
-l|--login|-p|--password|-u|--uid|-Z|--selinux-user)
--comment|--home|--expiredate|--inactive|--help|--login|--password|\
--uid|--selinux-user|-!(-*)[cdefhlpuZ])
return
;;
-g|--gid)
--gid|-!(-*)g)
_gids
COMPREPLY=( $( compgen -W '${COMPREPLY[@]} $( compgen -g )' \
-- "$cur" ) )
COMPREPLY=( $(compgen -W '${COMPREPLY[@]} $(compgen -g)' \
-- "$cur") )
return
;;
-G|--groups)
--groups|-!(-*)G)
local prefix=; [[ $cur == *,* ]] && prefix="${cur%,*},"
COMPREPLY=( $( compgen -g -- "${cur##*,}" ) )
COMPREPLY=( $(compgen -g -- "${cur##*,}") )
[[ ${#COMPREPLY[@]} -eq 1 ]] && COMPREPLY=( ${COMPREPLY/#/$prefix} )
return
;;
-R|--root)
--root|-!(-*)R)
_filedir -d
return
;;
-s|--shell)
--shell|-!(-*)s)
_shells
return
;;
@ -39,11 +39,11 @@ _usermod()
if [[ "$cur" == -* ]]; then
# TODO: -U/--unlock, -p/--password, -L/--lock mutually exclusive
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
return
fi
COMPREPLY=( $( compgen -u -- "$cur" ) )
COMPREPLY=( $(compgen -u -- "$cur") )
} &&
complete -F _usermod usermod