1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00

44798: completion option update

This commit is contained in:
Oliver Kiddle 2019-10-01 23:10:17 +02:00
parent 934fc7d116
commit 7d2d242b30
12 changed files with 64 additions and 21 deletions

View file

@ -85,7 +85,7 @@ case "$service" in
'--benchmark-tls-ciphers[benchmark TLS ciphers]'
'--priority-list[print list of the supported priority strings]'
'*--alpn=[enable application layer protocol]:string'
'--recordsize=[specify maximum record size to advertise]:record size'
'--recordsize=[specify maximum record size to advertise]:record size (0-4096)'
"--disable-sni[don't send a Server Name]"
'--single-key-share[send a single key share under TLS1.3]'
'--post-handshake-auth[enable post-handshake authentication under TLS1.3]'
@ -119,6 +119,8 @@ case "$service" in
'--pskhint=[specify PSK identity hint to use]:string'
'*--ocsp-response=[specify OCSP response to send to client]:string:_files'
'--ignore-ocsp-response-errors[ignore any errors when setting the OCSP response]'
'--recordsize=[specify maximum record size to advertise]:record size (0-16384)'
'--httpdata=[specify data to use as HTTP response]:file:_files'
)
;;

View file

@ -172,14 +172,14 @@ _make() {
'-d[print lots of debug information]'
'--debug=-[print various types of debug information]:debug options:->debug'
'(-e --environment-overrides)'{-e,--environment-overrides}'[environment variables override makefiles]'
'--eval=-[evaluate STRING as a makefile statement]:STRING'
'(-f --file --makefile)'{-f,--file=,--makefile=}'[read FILE as a makefile]:makefile:->file'
\*{-E+,--eval=-}'[evaluate string as a makefile statement]:string'
'(-f --file --makefile)'{-f,--file=,--makefile=}'[read specified file as a makefile]:makefile:->file'
'(- *)'{-h,--help}'[print help message and exit]'
'(-i --ignore-errors)'{-i,--ignore-errors}'[ignore errors from recipes]'
'*'{-I,--include-dir=}'[search DIRECTORY for included makefiles]:search path for included makefile:->dir'
'(-j --jobs)'{-j+,--jobs=}'[allow N jobs at once; infinite jobs with no arg]:number of jobs'
'*'{-I,--include-dir=}'[search specified directory for included makefiles]:search path for included makefile:->dir'
'(-j --jobs)'{-j+,--jobs=}'[allow specified number of parallel jobs; unlimited jobs with no arg]:: : _guard "[0-9]#" "number of jobs"'
'(-k --keep-going)'{-k,--keep-going}"[keep going when some targets can't be made]"
'(-l --load-average --max-load)'{-l,--load-average=,--max-load}"[don't start multiple jobs unless load is below N]:load"
'(-l --load-average --max-load)'{-l,--load-average=,--max-load}"[don't start multiple jobs unless load is below specified value]:load"
'(-L --check-symlink-times)'{-L,--check-symlink-times}'[use the latest mtime between symlinks and target]'
'(-n --just-print --dry-run --recon)'{-n,--just-print,--dry-run,--recon}"[don't actually run any recipe; just print them]"
'*'{-o,--old-file=,--assume-old=}"[consider specified file to be old and don't remake it]:file not to remake:->file"
@ -189,12 +189,13 @@ _make() {
'(-r --no-builtin-rules)'{-r,--no-builtin-rules}'[disable the built-in implicit rules]'
'(-R --no-builtin-variables)'{-R,--no-builtin-variables}'[disable the built-in variable settings]'
'(-s --silent --quiet)'{-s,--silent,--quiet}"[don't echo recipes]"
'--no-silent[echo recipes (disable --silent mode)]'
'(-S --no-keep-going --stop)'{-S,--no-keep-going,--stop}'[turns off -k]'
'(-t --touch)'{-t,--touch}'[touch targets instead of remaking them]'
'(- *)'{-v,--version}'[print the version number of make and exit]'
'(-w --print-directory)'{-w,--print-directory}'[print the current directory]'
'--no-print-directory[turn off -w, even if it was turned on implicitly]'
'*'{-W,--what-if=,--new-file=,--assume-new=}'[consider FILE to be infinitely new]:file to treat as modified:->file'
'*'{-W,--what-if=,--new-file=,--assume-new=}'[consider specified file to be infinitely new]:file to treat as modified:->file'
'--warn-undefined-variables[warn when an undefined variable is referenced]'
'--warn-undefined-functions[warn when an undefined user function is called]'
)

View file

@ -174,8 +174,15 @@ case $OSTYPE in
;|
solaris2.<11->)
sets+=( dcache '-[^-]#d*' )
sel_dcache=( '-d[display the destination cache entry table]' )
dcache=( $families )
args=( '-T+[specify time format]:time format:((u\:seconds\ since\ epoch d\:standard\ date\ format))' )
sockets=( '-u[list user, pid and program that created network endpoint]' )
sockets+=(
'-u[list user, pid and program that created network endpoint]'
'-k[show only sockets with kernel data path bypass enabled]'
'-L[only show state of sockets using SO_REUSEPORT load balancing]'
)
;&
solaris*)
args=( -A '-*' $args )

View file

@ -47,6 +47,7 @@ case $variant in
'(-0 --null -d --delimiter)'{-0,--null}'[expect NUL characters as input separators]'
'(-d --delimiter -0 --null)'{-d+,--delimiter=}'[specify delimiter of input items]:delimiter'
'(-l -L --max-lines -n --max-args -s --max-chars)--max-lines=-[call program for every number of lines]::number of input lines'
'(-o --open-tty)'{-o,--open-tty}'[reopen stdin as /dev/tty in the child process before executing the command]'
'--process-slot-var=[set environment variable to unique value in child processes]:variable:_parameters -g "*export*"'
'(-r --no-run-if-empty)'{-r,--no-run-if-empty}"[don't run command in absence of input]"
'(- *)--help[show help information]'