mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-20 21:33:21 -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
|
@ -6,20 +6,20 @@ _wol()
|
|||
_init_completion -s -n : || return
|
||||
|
||||
case $prev in
|
||||
-V|--version|--help|-p|--port|--passwd|-w|--wait)
|
||||
--version|--help|--port|--passwd|--wait|-!(-*)[Vpw])
|
||||
return
|
||||
;;
|
||||
-h|--host|-i|--ipaddr)
|
||||
--host|--ipaddr|-!(-*)[hi])
|
||||
# Broadcast addresses
|
||||
local PATH=$PATH:/sbin
|
||||
COMPREPLY=( $( { ip addr show || ifconfig -a; } 2>/dev/null | \
|
||||
COMPREPLY=( $({ ip addr show || ifconfig -a; } 2>/dev/null | \
|
||||
command sed -ne 's/.*[[:space:]]Bcast:\([^[:space:]]*\).*/\1/p' -ne \
|
||||
's/.*inet.*[[:space:]]brd[[:space:]]\([^[:space:]]*\).*/\1/p' -ne \
|
||||
's/.*[[:space:]]broadcast[[:space:]]\{1,\}\([^[:space:]]*\).*/\1/p' ) )
|
||||
's/.*[[:space:]]broadcast[[:space:]]\{1,\}\([^[:space:]]*\).*/\1/p') )
|
||||
_known_hosts_real -- "$cur"
|
||||
return
|
||||
;;
|
||||
-f|--file)
|
||||
--file|-!(-*)f)
|
||||
_filedir
|
||||
return
|
||||
;;
|
||||
|
@ -28,7 +28,7 @@ _wol()
|
|||
$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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue