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

@ -6,20 +6,20 @@ _luseradd()
_init_completion -s || return
case $prev in
-\?|--help|--usage|-c|--gecos|-u|--uid|-l|--login|-P|--plainpassword|\
-p|--password|--commonname|--givenname|--surname|--roomnumber|\
--telephonenumber|--homephone)
--help|--usage|--gecos|--uid|--login|--plainpassword|--password|\
--commonname|--givenname|--surname|--roomnumber|--telephonenumber|\
--homephone|-!(-*)@([culPp]|[?]*))
return
;;
-d|--directory|-k|--skeleton)
--directory|--skeleton|-!(-*)[dk])
_filedir -d
return
;;
-s|--shell)
--shell|-!(-*)s)
_shells
return
;;
-g|--gid)
--gid|-!(-*)g)
_gids
return
;;
@ -28,12 +28,12 @@ _luseradd()
$split && return
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
[[ $COMPREPLY == *= ]] && compopt -o nospace
return
fi
[[ ${1##*/} == luseradd ]] || COMPREPLY=( $( compgen -u -- "$cur" ) )
[[ ${1##*/} == luseradd ]] || COMPREPLY=( $(compgen -u -- "$cur") )
} &&
complete -F _luseradd luseradd lusermod