mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-19 21:03:25 -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
|
@ -2,43 +2,60 @@
|
|||
|
||||
_tcpdump()
|
||||
{
|
||||
local cur prev words cword
|
||||
_init_completion || return
|
||||
local cur prev words cword split
|
||||
_init_completion -s || return
|
||||
|
||||
case $prev in
|
||||
-r|-w|-F)
|
||||
-!(-*)[rwFV])
|
||||
_filedir
|
||||
return
|
||||
;;
|
||||
-i)
|
||||
--interface|-!(-*)i)
|
||||
_available_interfaces -a
|
||||
return
|
||||
;;
|
||||
-m)
|
||||
-!(-*)m)
|
||||
_filedir mib
|
||||
return
|
||||
;;
|
||||
-T)
|
||||
COMPREPLY=( $( compgen -W 'aodv cnfp rpc rtp rtcp snmp tftp vat
|
||||
wb' -- "$cur" ) )
|
||||
-!(-*)T)
|
||||
COMPREPLY=( $(compgen -W 'aodv carp cnfp lmp pgm pgm_zmtp1 radius
|
||||
resp rpc rtcp rtp rtcp snmp tftp vat vxlan wb zmtp1' \
|
||||
-- "$cur") )
|
||||
return
|
||||
;;
|
||||
-z)
|
||||
-!(-*)z)
|
||||
compopt -o filenames
|
||||
COMPREPLY=( $( compgen -c -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -c -- "$cur") )
|
||||
return
|
||||
;;
|
||||
-Z)
|
||||
--relinquish-privileges|-!(-*)Z)
|
||||
_allowed_users
|
||||
return
|
||||
;;
|
||||
-B|-c|-C|-D|-E|-G|-M|-s|-W|-y)
|
||||
-!(-*)[BcCDEGMsWy])
|
||||
return
|
||||
;;
|
||||
--time-stamp-type|-!(-*)j)
|
||||
COMPREPLY=( $(compgen -W 'host host_lowprec host_hiprec adapter
|
||||
adapter_unsynced' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--direction|-!(-*)Q)
|
||||
COMPREPLY=( $(compgen -W 'in out inout' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--time-stamp-precision)
|
||||
COMPREPLY=( $(compgen -W 'micro nano' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
$split && return
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '$(_parse_usage "$1")' -- "$cur") )
|
||||
[[ $COMPREPLY == *= ]] && compopt -o nospace
|
||||
fi
|
||||
|
||||
} &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue