--- zsh-5.3.1/Completion/Solaris/Command/_flowadm.~1~ 2016-08-27 22:54:44.000000000 +0300 +++ zsh-5.3.1/Completion/Solaris/Command/_flowadm 2017-05-03 13:38:46.625666240 +0300 @@ -12,7 +12,7 @@ reset-flowprop show-flowprop ) tr=( tcp udp sctp icmp icmpv6 ) -props=( maxbw ) +props=( maxbw priority ) if [[ $service == "flowadm" ]]; then _arguments -C -A "-*" \ @@ -33,7 +33,7 @@ ("show-flow") _arguments -A "-*" \ - '-o[specify field to display]:field:(flow link ipaddr proto port dsfield)' \ + '-o[specify field to display]:field:(flow link ipaddr proto lport rport dsfield)' \ '-p[parsable output]' \ '-P[persistent flow property information]' \ - set1 \ --- zsh-5.0.5/Completion/Solaris/Command/_ipadm Wed Nov 27 11:00:18 2013 +++ zsh-5.0.5/Completion/Solaris/Command/_ipadm Fri Mar 28 16:02:55 2014 @@ -1,5 +1,5 @@ #compdef ipadm -# Synced with the S11U1 build 19 man page +# Synced with the S11U2 build 34 man page _ipadm_ifs() { local -a extra @@ -122,11 +122,13 @@ addrobj_properties=( "addrobj" "type" "state" "current" "persistent" "addr" - "cid-type" "cid-value" "begin" "expire" "renew" + "cid-type" "cid-value" "begin" "expire" "renew" "vrrp-router" ) - proto_ipv4_properties=( "hostmodel" "ttl" "forwarding" ) - proto_ipv6_properties=( "hostmodel" "hoplimit" "forwarding" ) + proto_ipv4_properties=( "arp_publish_count" "arp_publish_interval" "hostmodel" + "ttl" "forwarding" "ndp_unsolicit_count" "ndp_unsolicit_interval" "send_redirects" ) + proto_ipv6_properties=( "arp_publish_count" "arp_publish_interval" "hostmodel" + "hoplimit" "forwarding" "ndp_unsolicit_count" "ndp_unsolicit_interval" "send_redirects" ) proto_tcp_properties=( "cong_default" "cong_enabled" "ecn" "extra_priv_ports" "max_buf" "recv_buf" "send_buf" "sack" "smallest_anon_port" "largest_anon_port" "smallest_nonpriv_port" ) proto_udp_properties=( "extra_priv_ports" "max_buf" "recv_buf" "send_buf" "smallest_anon_port" @@ -265,7 +267,7 @@ case ${opt_args[-T]#-T:} in ("static:"*) local -a addrthingsv4 - addrthingsv4=( "local:address: " "remote:address: ") + addrthingsv4=( "local:address: " "remote:address: " ) _arguments -A "-*" \ '(-d --down)'{-d,--down}'[Address should be marked down]' \ '(-a --address)'{-a,--address}'[Address specification]:address:_values -s , "address" $addrthingsv4' \ @@ -281,7 +283,7 @@ ("addrconf:"*) local -a addrthingsv6 statefulness - addrthingsv6=( "local:interface id: " "remote:interface id: ") + addrthingsv6=( "local:interface id: " "remote:interface id: " ) statefulness=( "stateful:statefulness:(yes no)" "stateless:statelessness:(yes no)" ) _arguments -A "-*" \ '(-i --interface-id)'{-i,--interface-id}'[Interface ID]:address:_values -s , "interface id" $addrthingsv6' \ @@ -288,6 +290,16 @@ '(-p --prop)'{-p,--prop}'[Statefulness configuration]:statefulness configuration:_values -s , "statefulness" $statefulness' \ ':address object name:_ipadm_addrobjs_or_ifs' ;; + + ("vrrp:"*) + local -a addrthingsvrrp + addrthingsvrrp=( "local:address: " ) + _arguments -A "-*" \ + '(-a --address)'{-a,--address}'[Address specification]:address:_values -s , "address" $addrthingsvrrp' \ + '-n[VRRP router name]:router name: ' \ + ':address object name:_ipadm_addrobjs_or_ifs' + ;; + (*) _wanted commands expl "address type" compadd static dhcp addrconf ;; --- a/Completion/Solaris/Command/_svcs +++ b/Completion/Solaris/Command/_svcs @@ -1,4 +1,5 @@ #compdef svcs +# Synced with the S11U2 build 34 man page local -a cols @@ -12,17 +13,18 @@ cols=( ) _arguments -s \ - '(-l -x -d -D)-a[list all instances]' \ - '(-l -x -D -a -R)-d[list dependencies]' \ - '(-l -x -d -a -R)-D[list dependents]' \ - '(-l -x)-H[suppress header line]' \ + '(-l -L -x -d -D)-a[list all instances]' \ + '(-l -L -x -D -a -R)-d[list dependencies]' \ + '(-l -L -x -d -a -R)-D[list dependents]' \ + '(-l -L -x)-H[suppress header line]' \ '(-x -d -D -a -R -s)-l[print detailed status about services and instances]' \ - '(-l -x)-o[display specific columns]:column:_values -s , "column" ${^cols/\:/[}\]' \ - '(-l -x)-p[list processes]' \ - '(-l -x -d -D)-R[list services with the given restarter]:instance FMRI:_svcs_fmri -i' \ - '(-l -x)-s[sort by a column]:column:(($cols))' \ - '(-l -x)-S[reverse sort by a column]:column:(($cols))' \ + '(-a -d -D -H -l -o -p -R -s -S)-L[print path to service logfile]' \ + '(-l -L -x)-o[display specific columns]:column:_values -s , "column" ${^cols/\:/[}\]' \ + '(-l -L -x)-p[list processes]' \ + '(-l -L -x -d -D)-R[list services with the given restarter]:instance FMRI:_svcs_fmri -i' \ + '(-l -L -x)-s[sort by a column]:column:(($cols))' \ + '(-l -L -x)-S[reverse sort by a column]:column:(($cols))' \ '-v[verbose columns]' \ '(-l)-x[display explanation for service states]' \ - '(-l -x)-\?[print help]' \ + '(-l -L -x)-\?[print help]' \ '*:FMRI or pattern:_svcs_fmri -i' --- zsh-5.9/Completion/Solaris/Command/_svcadm.orig 2022-05-08 08:18:22.000000000 +0000 +++ zsh-5.9/Completion/Solaris/Command/_svcadm 2022-05-16 16:39:45.089063528 +0000 @@ -22,16 +22,16 @@ (enable) _arguments -A "-*" \ '-r[recursively enable dependencies]' \ - '-s[wait for service to come online]' \ - '-T[timeout for -s]:timeout (seconds)' \ + '-s[Synchronous mode: wait for service to come online]' \ + '-T[Timeout for synchronous mode]:seconds:' \ '-t[state change is temporary]' \ '*:instance FMRI:_svcs_fmri -i' ;; (disable) _arguments -A "-*" \ - '-s[wait for service to become disabled]' \ - '-T[timeout for -s]:timeout (seconds)' \ + '-s[Synchronous mode: wait for service to become disabled]' \ + '-T[Timeout for synchronous mode]:seconds:' \ '-t[state change is temporary]' \ '*:instance FMRI:_svcs_fmri -i' ;; @@ -39,8 +39,8 @@ (mark) _arguments -A "-*" \ '-I[change state immediately]' \ - "-s[wait for service to reach the new state]" \ - '-T[timeout for -s]:timeout (seconds)' \ + "-s[Synchronous mode: wait for service to reach the new state]" \ + '-T[Timeout for synchronous mode]:seconds:' \ '-t[state change is temporary]' \ ':state:(degraded maintenance)' \ ':instance FMRI:_svcs_fmri -i' @@ -48,15 +48,15 @@ (restart|refresh|clear) _arguments \ - "-s[wait for service to $service]" \ - '-T[timeout for -s]:timeout (seconds)' \ + "-s[Synchronous mode: wait for service to $service]" \ + '-T[Timeout for synchronous mode]:seconds:' \ '*:instance FMRI:_svcs_fmri -i' ;; (delegate) _arguments -A "-*" \ - '-s[wait for instances to come online]' \ - '-T[timeout for -s]:timeout (seconds)' \ + '-s[Synchronous mode: wait for instances to come online]' \ + '-T[Timeout for synchronous mode]:seconds:' \ ':restarter FMRI:_svcs_fmri -r' \ '*:FMRI:_svcs_fmri -i' ;; @@ -64,8 +64,8 @@ (milestone) _arguments -A "-*" \ '-d[make milestone the default]' \ - '-s[wait for the transition to the new milestone]' \ - '-T[timeout for -s]:timeout (seconds)' \ + '-s[Synchronous mode: wait for the transition to the new milestone]' \ + '-T[Timeout for synchronous mode]:seconds:' \ '*:milestone FMRI:_svcs_fmri -m' ;;