From 7d2d242b30dad78cc9df81a275324e57c9fedd34 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Tue, 1 Oct 2019 23:10:17 +0200 Subject: 44798: completion option update --- Completion/Unix/Command/_gnutls | 4 +++- Completion/Unix/Command/_make | 13 +++++++------ Completion/Unix/Command/_netstat | 9 ++++++++- Completion/Unix/Command/_xargs | 1 + Completion/Unix/Type/_ld_debug | 1 + 5 files changed, 20 insertions(+), 8 deletions(-) (limited to 'Completion/Unix') diff --git a/Completion/Unix/Command/_gnutls b/Completion/Unix/Command/_gnutls index 8b8f6c78e..6c9956b10 100644 --- a/Completion/Unix/Command/_gnutls +++ b/Completion/Unix/Command/_gnutls @@ -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' ) ;; diff --git a/Completion/Unix/Command/_make b/Completion/Unix/Command/_make index 56d47f4ea..3dcf479c3 100644 --- a/Completion/Unix/Command/_make +++ b/Completion/Unix/Command/_make @@ -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]' ) diff --git a/Completion/Unix/Command/_netstat b/Completion/Unix/Command/_netstat index 7342a8a22..94aa1688d 100644 --- a/Completion/Unix/Command/_netstat +++ b/Completion/Unix/Command/_netstat @@ -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 ) diff --git a/Completion/Unix/Command/_xargs b/Completion/Unix/Command/_xargs index 8b543341d..f21784ef1 100644 --- a/Completion/Unix/Command/_xargs +++ b/Completion/Unix/Command/_xargs @@ -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]' diff --git a/Completion/Unix/Type/_ld_debug b/Completion/Unix/Type/_ld_debug index 94593eff0..5c10faa02 100644 --- a/Completion/Unix/Type/_ld_debug +++ b/Completion/Unix/Type/_ld_debug @@ -31,6 +31,7 @@ case $OSTYPE in linux*) vals+=( 'all[combine all options]' + 'scopes[display scope information]' 'statistics[display relocation statistics]' ) ;; -- cgit 1.4.1