Fix indentation size

This commit is contained in:
Shohei YOSHIDA 2026-03-13 11:46:25 +09:00
parent 7ea6b7a971
commit b5da595150
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
9 changed files with 382 additions and 388 deletions

View File

@ -248,7 +248,7 @@ __ccache_config_keys() {
if compset -P '--set-config=*='; then
case $IPREFIX in
( *=absolute_paths_in_stderr= | *=compression= | *=debug= | *=depend_mode= | *=direct_mode= | *=disable= | *=file_clone= | *=hard_link= | *=hash_dir= | *=inode_cache= | *=keep_comments_cpp= | *=read_only= | *=read_only_direct= | *=recache= | *=run_second_cpp= | *=stats= | *=unify= )
( *=absolute_paths_in_stderr= | *=compression= | *=debug= | *=depend_mode= | *=direct_mode= | *=disable= | *=file_clone= | *=hard_link= | *=hash_dir= | *=inode_cache= | *=keep_comments_cpp= | *=read_only= | *=read_only_direct= | *=recache= | *=run_second_cpp= | *=stats= | *=unify= )
local -a booleans=('true' 'false')
_describe -t booleans 'boolean' booleans
;;

View File

@ -77,7 +77,7 @@ __cf_marketplace_services() {
declare -a cont_cmd
cont_cmd=($(CF_COLOR=false CF_TRACE=false cf marketplace | awk 'NR>4{print $1}'))
if [[ "X$cont_cmd" != 'X' ]]; then
_describe 'SERVICE' cont_cmd
_describe 'SERVICE' cont_cmd
fi
}
@ -86,7 +86,7 @@ __cf_services() {
declare -a cont_cmd
cont_cmd=($(CF_COLOR=false CF_TRACE=false cf services | awk 'NR>4{print $1}'))
if [[ "X$cont_cmd" != 'X' ]]; then
_describe 'SERVICE' cont_cmd
_describe 'SERVICE' cont_cmd
fi
}
@ -95,7 +95,7 @@ __cf_domains() {
declare -a cont_cmd
cont_cmd=($(CF_COLOR=false CF_TRACE=false cf domains | grep -v shared | awk 'NR>2{print $1}'))
if [[ "X$cont_cmd" != 'X' ]]; then
_describe 'DOMAIN' cont_cmd
_describe 'DOMAIN' cont_cmd
fi
}
@ -122,7 +122,7 @@ __cf_buildpacks() {
declare -a cont_cmd
cont_cmd=($(CF_COLOR=false CF_TRACE=false cf buildpacks | awk 'NR>3{print $1}'))
if [[ "X$cont_cmd" != 'X' ]]; then
_describe 'BUILDPACK' cont_cmd
_describe 'BUILDPACK' cont_cmd
fi
}

View File

@ -151,9 +151,9 @@ _conan_cache() {
local ret=1
_arguments -C \
'(- *)'{-h,--help}'[show help message and exit]' \
'1: :(clean path)' \
'*:: :->args'
'(- *)'{-h,--help}'[show help message and exit]' \
'1: :(clean path)' \
'*:: :->args'
case $state in
(args)

View File

@ -48,7 +48,7 @@ _arguments \
'--waitip=[Wait for an address to assigned before forking to the background]: :(4 6)' \
\*{-x,--exit}'[This will signal an existing dhcpcd process running on the interface to exit]: :_net_interfaces' \
'(-y --reboot)'{-y,--reboot}'[Allow reboot seconds before moving to the discover phase if we have an old lease to use]:seconds' \
'1:network interface:_net_interfaces'
'1:network interface:_net_interfaces'
# Local Variables:
# mode: Shell-Script

View File

@ -727,8 +727,8 @@ _flutter_custom_devices() {
_arguments -C \
'(- *)'{-h,--help}'[Print this usage information]' \
'1: :_flutter_custom_devices_subcommands' \
'*:: :->args' \
'1: :_flutter_custom_devices_subcommands' \
'*:: :->args' \
&& ret=0
case $state in

338
src/_mix
View File

@ -45,196 +45,190 @@
local -a _1st_arguments
_1st_arguments=(
'app.start:Starts all registered apps'
'app.tree:Prints the application tree'
'archive:Lists installed archives'
'archive.build:Archives this project into a .ez file'
'archive.install:Installs an archive locally'
'archive.uninstall:Uninstalls archives'
'clean:Deletes generated application files'
'cmd:Executes the given command'
'compile:Compiles source files'
'deps:Lists dependencies and their status'
"deps.clean:Deletes the given dependencies' files"
'deps.compile:Compiles dependencies'
'deps.get:Gets all out of date dependencies'
'deps.tree:Prints the dependency tree'
'deps.unlock:Unlocks the given dependencies'
'deps.update:Updates the given dependencies'
'do:Executes the tasks separated by comma'
'ecto:Prints Ecto help information'
'ecto.create:Creates the repository storage'
'ecto.drop:Drops the repository storage'
'ecto.dump:Dumps the repository database structure'
'ecto.gen.migration:Generates a new migration for the repo'
'ecto.gen.repo:Generates a new repository'
'ecto.load:Loads previously dumped database structure'
'ecto.migrate:Runs the repository migrations'
'ecto.migrations:Displays the repository migration status'
'ecto.rollback:Rolls back the repository migrations'
'escript:Lists installed escripts'
'escript.build:Builds an escript for the project'
'escript.install:Installs an escript locally'
'escript.uninstall:Uninstalls escripts'
'gettext.extract:Extracts translations from source code'
'gettext.merge:Merge template files into translation files'
'help:Prints help information for tasks'
'hex:Prints Hex help information'
'hex.build:Builds a new package version locally'
'hex.config:Reads, updates or deletes Hex config'
'hex.docs:Fetch or open documentation of a package'
'hex.info:Prints Hex information'
'hex.key:Manages Hex API key'
'hex.outdated:Shows outdated Hex deps for the current project'
'hex.owner:Manages Hex package ownership'
'hex.public_keys:Manages Hex public keys'
'hex.publish:Publishes a new package version'
'hex.retire:Retires a package version'
'hex.search:Searches for package names'
'hex.user:Registers or manages Hex user'
'loadconfig:Loads and persists the given configuration'
'local:Lists local tasks'
'local.hex:Installs Hex locally'
'local.phoenix:Updates Phoenix locally'
'local.phx:Updates the Phoenix project generator locally'
'local.public_keys:Manages public keys'
'local.rebar:Installs Rebar locally'
'new:Creates a new Elixir project'
'phoenix.gen.html:Generates controller, model and views for an HTML based resource'
'phoenix.server:Starts applications and their servers'
'phx.digest:Digests and compresses static files'
'phx.digest.clean:Removes old versions of static assets.'
'phx.gen.auth:Generates a flexible, pre-built authentication system'
'phx.gen.channel:Generates a Phoenix channel'
'phx.gen.context:Generates a context with functions around an Ecto schema'
'phx.gen.html:Generates controller, views, and context for an HTML resource'
'phx.gen.live:Generates controller, context and helper for a LiveView resource'
'phx.gen.json:Generates controller, views, and context for a JSON resource'
'phx.gen.presence:Generates a Presence tracker'
'phx.gen.schema:Generates an Ecto schema and migration file'
'phx.gen.secret:Generates a secret'
'phx.new:Creates a new Phoenix application'
'phx.new.ecto:Creates a new Ecto project within an umbrella project'
'phx.new.web:Creates a new Phoenix web project within an umbrella project'
'phx.routes:Prints all routes'
'phx.server:Starts applications and their servers'
'profile.fprof:Profiles the given file or expression with fprof'
'run:Runs the given file or expression'
"test:Runs a project's tests"
'xref:Performs cross reference checks'
'--help:Describe available tasks'
'--version:Prints the Elixir version information'
'app.start:Starts all registered apps'
'app.tree:Prints the application tree'
'archive:Lists installed archives'
'archive.build:Archives this project into a .ez file'
'archive.install:Installs an archive locally'
'archive.uninstall:Uninstalls archives'
'clean:Deletes generated application files'
'cmd:Executes the given command'
'compile:Compiles source files'
'deps:Lists dependencies and their status'
"deps.clean:Deletes the given dependencies' files"
'deps.compile:Compiles dependencies'
'deps.get:Gets all out of date dependencies'
'deps.tree:Prints the dependency tree'
'deps.unlock:Unlocks the given dependencies'
'deps.update:Updates the given dependencies'
'do:Executes the tasks separated by comma'
'ecto:Prints Ecto help information'
'ecto.create:Creates the repository storage'
'ecto.drop:Drops the repository storage'
'ecto.dump:Dumps the repository database structure'
'ecto.gen.migration:Generates a new migration for the repo'
'ecto.gen.repo:Generates a new repository'
'ecto.load:Loads previously dumped database structure'
'ecto.migrate:Runs the repository migrations'
'ecto.migrations:Displays the repository migration status'
'ecto.rollback:Rolls back the repository migrations'
'escript:Lists installed escripts'
'escript.build:Builds an escript for the project'
'escript.install:Installs an escript locally'
'escript.uninstall:Uninstalls escripts'
'gettext.extract:Extracts translations from source code'
'gettext.merge:Merge template files into translation files'
'help:Prints help information for tasks'
'hex:Prints Hex help information'
'hex.build:Builds a new package version locally'
'hex.config:Reads, updates or deletes Hex config'
'hex.docs:Fetch or open documentation of a package'
'hex.info:Prints Hex information'
'hex.key:Manages Hex API key'
'hex.outdated:Shows outdated Hex deps for the current project'
'hex.owner:Manages Hex package ownership'
'hex.public_keys:Manages Hex public keys'
'hex.publish:Publishes a new package version'
'hex.retire:Retires a package version'
'hex.search:Searches for package names'
'hex.user:Registers or manages Hex user'
'loadconfig:Loads and persists the given configuration'
'local:Lists local tasks'
'local.hex:Installs Hex locally'
'local.phoenix:Updates Phoenix locally'
'local.phx:Updates the Phoenix project generator locally'
'local.public_keys:Manages public keys'
'local.rebar:Installs Rebar locally'
'new:Creates a new Elixir project'
'phoenix.gen.html:Generates controller, model and views for an HTML based resource'
'phoenix.server:Starts applications and their servers'
'phx.digest:Digests and compresses static files'
'phx.digest.clean:Removes old versions of static assets.'
'phx.gen.auth:Generates a flexible, pre-built authentication system'
'phx.gen.channel:Generates a Phoenix channel'
'phx.gen.context:Generates a context with functions around an Ecto schema'
'phx.gen.html:Generates controller, views, and context for an HTML resource'
'phx.gen.live:Generates controller, context and helper for a LiveView resource'
'phx.gen.json:Generates controller, views, and context for a JSON resource'
'phx.gen.presence:Generates a Presence tracker'
'phx.gen.schema:Generates an Ecto schema and migration file'
'phx.gen.secret:Generates a secret'
'phx.new:Creates a new Phoenix application'
'phx.new.ecto:Creates a new Ecto project within an umbrella project'
'phx.new.web:Creates a new Phoenix web project within an umbrella project'
'phx.routes:Prints all routes'
'phx.server:Starts applications and their servers'
'profile.fprof:Profiles the given file or expression with fprof'
'run:Runs the given file or expression'
"test:Runs a project's tests"
'xref:Performs cross reference checks'
'--help:Describe available tasks'
'--version:Prints the Elixir version information'
)
__task_list ()
{
local expl
declare -a tasks
__task_list () {
local expl
declare -a tasks
tasks=(
'app.start'
'app.tree'
'archive'
'archive.build'
'archive.install'
'archive.uninstall'
'clean'
'cmd'
'compile'
'deps'
'deps.clean'
'deps.compile'
'deps.get'
'deps.tree'
'deps.unlock'
'deps.update'
'do'
'ecto'
'ecto.create'
'ecto.drop'
'ecto.dump'
'ecto.gen.migration'
'ecto.gen.repo'
'ecto.load'
'ecto.migrate'
'ecto.migrations'
'ecto.rollback'
'escript'
'escript.build'
'escript.install'
'escript.uninstall'
'gettext.extract'
'gettext.merge'
'format'
'help'
'hex'
'hex.build'
'hex.config'
'hex.docs'
'hex.info'
'hex.key'
'hex.outdated'
'hex.owner'
'hex.public_keys'
'hex.publish'
'hex.retire'
'hex.search'
'hex.user'
'loadconfig'
'local'
'local.hex'
'local.public_keys'
'local.rebar'
'new'
'phoenix.gen.html'
'phoenix.server'
'phx.digest'
'phx.digest.clean'
'phx.gen.auth'
'phx.gen.channel'
'phx.gen.context'
'phx.gen.html'
'phx.gen.live'
'phx.gen.json'
'phx.gen.presence'
'phx.gen.schema'
'phx.gen.secret'
'phx.routes'
'phx.server'
'profile.fprof'
'run'
'test'
'xref'
)
tasks=(
'app.start'
'app.tree'
'archive'
'archive.build'
'archive.install'
'archive.uninstall'
'clean'
'cmd'
'compile'
'deps'
'deps.clean'
'deps.compile'
'deps.get'
'deps.tree'
'deps.unlock'
'deps.update'
'do'
'ecto'
'ecto.create'
'ecto.drop'
'ecto.dump'
'ecto.gen.migration'
'ecto.gen.repo'
'ecto.load'
'ecto.migrate'
'ecto.migrations'
'ecto.rollback'
'escript'
'escript.build'
'escript.install'
'escript.uninstall'
'gettext.extract'
'gettext.merge'
'format'
'help'
'hex'
'hex.build'
'hex.config'
'hex.docs'
'hex.info'
'hex.key'
'hex.outdated'
'hex.owner'
'hex.public_keys'
'hex.publish'
'hex.retire'
'hex.search'
'hex.user'
'loadconfig'
'local'
'local.hex'
'local.public_keys'
'local.rebar'
'new'
'phoenix.gen.html'
'phoenix.server'
'phx.digest'
'phx.digest.clean'
'phx.gen.auth'
'phx.gen.channel'
'phx.gen.context'
'phx.gen.html'
'phx.gen.live'
'phx.gen.json'
'phx.gen.presence'
'phx.gen.schema'
'phx.gen.secret'
'phx.routes'
'phx.server'
'profile.fprof'
'run'
'test'
'xref'
)
_wanted tasks expl 'help' compadd $tasks
_wanted tasks expl 'help' compadd $tasks
}
local expl
local curcontext="$curcontext" state line
typeset -A opt_args
_arguments -C \
':command:->command' \
'*::options:->options'
':command:->command' \
'*::options:->options'
case $state in
(command)
_describe -t commands "mix subcommand" _1st_arguments
return
;;
_describe -t commands "mix subcommand" _1st_arguments
;;
(options)
case $line[1] in
(help)
_arguments ':feature:__task_list'
return
;;
_arguments ':feature:__task_list'
;;
(test|format|run)
_arguments ':PATH:_files'
return
;;
_arguments ':PATH:_files'
;;
esac
;;
esac

View File

@ -104,11 +104,11 @@ _mvn() {
if [[ $maven_version == 'maven4' ]]; then
opts+=(
"($excl_opts -canf --cache-artifact-not-found)"{-canf,--cache-artifact-not-found}'[defines caching behaviour for not found artifacts]: :(false true)'
"($excl_opts -fos --fail-on-severity)"{-fos,--fail-on-severity}'[configure which severity of logging should cause the build to fail]: :(WARN ERROR)'
"($excl_opts -itr --ignore-transitive-repositories)"{-itr,--ignore-transitive-repositories}'[if set, Maven will ignore remote repositories introduced by transitive dependencies]'
"($excl_opts --non-interactive)"'--non-interactive[run in non-interactive mode. Alias for --batch-mode]'
"($excl_opts -r --resume)"{-r,--resume}'[resume reactor from the last failed project, using the resume.properties file in the build directory]'
"($excl_opts -canf --cache-artifact-not-found)"{-canf,--cache-artifact-not-found}'[defines caching behaviour for not found artifacts]: :(false true)'
"($excl_opts -fos --fail-on-severity)"{-fos,--fail-on-severity}'[configure which severity of logging should cause the build to fail]: :(WARN ERROR)'
"($excl_opts -itr --ignore-transitive-repositories)"{-itr,--ignore-transitive-repositories}'[if set, Maven will ignore remote repositories introduced by transitive dependencies]'
"($excl_opts --non-interactive)"'--non-interactive[run in non-interactive mode. Alias for --batch-mode]'
"($excl_opts -r --resume)"{-r,--resume}'[resume reactor from the last failed project, using the resume.properties file in the build directory]'
)
fi

View File

@ -1112,22 +1112,22 @@ _openssl_genpkey() {
done
_arguments \
'(- *)-help[print help message]' \
'-out[output private key file]:file:_files' \
'-outpubkey[output public key file]:file:_files' \
'-outform[output format]:format:(DER PEM)' \
'-verbose[output "status dots" while generating keys]' \
'-quiet[do not output "status dots" while generating keys]' \
'-pass[output file password source]:source:_openssl_pass_phrase_options' \
$cipher_flags[@] \
'-algorithm[public key algorithm]:alg:(($builtin_algorithms))' \
'-pkeyopt[public key algorithm option]:option' \
'-genparam[generate a set of parameters instead of a private key]' \
'-paramfile[file to supply public key parameters]:file:_files' \
'-text[print an (unencrypted) text representation of private and public keys and parameters]' \
$openssl_random_state_options[@] \
$openssl_provider_options[@] \
'-config[configuration file]:file:_files'
'(- *)-help[print help message]' \
'-out[output private key file]:file:_files' \
'-outpubkey[output public key file]:file:_files' \
'-outform[output format]:format:(DER PEM)' \
'-verbose[output "status dots" while generating keys]' \
'-quiet[do not output "status dots" while generating keys]' \
'-pass[output file password source]:source:_openssl_pass_phrase_options' \
$cipher_flags[@] \
'-algorithm[public key algorithm]:alg:(($builtin_algorithms))' \
'-pkeyopt[public key algorithm option]:option' \
'-genparam[generate a set of parameters instead of a private key]' \
'-paramfile[file to supply public key parameters]:file:_files' \
'-text[print an (unencrypted) text representation of private and public keys and parameters]' \
$openssl_random_state_options[@] \
$openssl_provider_options[@] \
'-config[configuration file]:file:_files'
}
_openssl_genrsa() {
@ -1441,17 +1441,17 @@ _openssl_pkcs12() {
_openssl_pkcs7() {
_arguments \
'(- *)-help[print help message]' \
'-inform[input format]:format:(DER PEM)' \
'-outform[output format]:format:(DER PEM)' \
'-in[input file name]:file:_files' \
'-out[output file name]:file:_files' \
'-print[print out the full PKCS7 object]' \
'-print_certs[print out any certificates or CRLs contained in the file]' \
'-quiet[print out just the PEM-encoded certificates without any other output]' \
'-text[print out certificate details in full]' \
'-noout[do not output the encoded version of the PKCS#7 structure]' \
$openssl_provider_options[@]
'(- *)-help[print help message]' \
'-inform[input format]:format:(DER PEM)' \
'-outform[output format]:format:(DER PEM)' \
'-in[input file name]:file:_files' \
'-out[output file name]:file:_files' \
'-print[print out the full PKCS7 object]' \
'-print_certs[print out any certificates or CRLs contained in the file]' \
'-quiet[print out just the PEM-encoded certificates without any other output]' \
'-text[print out certificate details in full]' \
'-noout[do not output the encoded version of the PKCS#7 structure]' \
$openssl_provider_options[@]
}
_openssl_pkcs8() {
@ -1460,51 +1460,51 @@ _openssl_pkcs8() {
)
_arguments \
'(- *)-help[print help message]' \
'-topk8[read a private key and write a PkCS#8 format key]' \
'-inform[input format]:format:(DER PEM)' \
'-outform[output format]:format:(DER PEM)' \
'-traditional[traditional format]' \
'-in[input file name]:file:_files' \
'-passin[input password source]:source:_openssl_pass_phrase_options' \
'-passout[output password source]:source:_openssl_pass_phrase_options' \
'-out[output file name]:files:_files' \
'-iter[number of iterations to create PKCS#8 containers]:count' \
'-noiter[use 1 as iteration count]' \
'-nocrypt[output unencrypted PrivateKeyInfo structure]' \
'-v2[algorithm for PKCS#5 v2.0]:alg:_openssl_cipher_algorithms' \
'-v2prf[PRF algorithm to use with PKCS#5 v2.0]:alg:(($prf_algorithms))' \
'-v1[algorithm for PKCS#5 v1.5 or PKCS#12]:alg:_openssl_cipher_algorithms' \
'-scrypt[use the script algorithm for private key encryption]' \
'-scrypt_N[scrypt "N" parameter]:n' \
'-scrypt_r[scrypt "r" parameter]:r' \
'-scrypt_p[scrypt "p" parameter]:p' \
'-saltlen[length of the salt to use for the PBE algorithm]:length' \
$openssl_random_state_options[@] \
$openssl_provider_options[@]
'(- *)-help[print help message]' \
'-topk8[read a private key and write a PkCS#8 format key]' \
'-inform[input format]:format:(DER PEM)' \
'-outform[output format]:format:(DER PEM)' \
'-traditional[traditional format]' \
'-in[input file name]:file:_files' \
'-passin[input password source]:source:_openssl_pass_phrase_options' \
'-passout[output password source]:source:_openssl_pass_phrase_options' \
'-out[output file name]:files:_files' \
'-iter[number of iterations to create PKCS#8 containers]:count' \
'-noiter[use 1 as iteration count]' \
'-nocrypt[output unencrypted PrivateKeyInfo structure]' \
'-v2[algorithm for PKCS#5 v2.0]:alg:_openssl_cipher_algorithms' \
'-v2prf[PRF algorithm to use with PKCS#5 v2.0]:alg:(($prf_algorithms))' \
'-v1[algorithm for PKCS#5 v1.5 or PKCS#12]:alg:_openssl_cipher_algorithms' \
'-scrypt[use the script algorithm for private key encryption]' \
'-scrypt_N[scrypt "N" parameter]:n' \
'-scrypt_r[scrypt "r" parameter]:r' \
'-scrypt_p[scrypt "p" parameter]:p' \
'-saltlen[length of the salt to use for the PBE algorithm]:length' \
$openssl_random_state_options[@] \
$openssl_provider_options[@]
}
_openssl_pkey() {
_arguments \
'(- *)-help[print help message]' \
$openssl_provider_options[@] \
'-check[check the consistency of a key pair for both public and private components]' \
'-pubcheck[check the correctness of either a public key or the public components of a key pair]' \
'-in[input file or URI]:file_or_uri:_files' \
'-inform[key input format]:format:(DER PEM P12 ENGINE)' \
'-passin[password source for the key input]:source:_openssl_pass_phrase_options' \
'-pubin[read public key instead of private key]' \
'-out[output file name]' \
'-outform[key output format]:format:(DER PEM)' \
'-cipher[cipher to encrypt the PEM encoded private key]:cipher:_openssl_ciphers' \
'-passout[password source for the output file]:source:_openssl_pass_phrase_options' \
'-traditional[use older "traditional" format]' \
'-pubout[output the public components]' \
'-noout[do not output the key in encoded form]' \
'-text[output the various key components in plain text]' \
'-text_pub[output only the public key components in text form]' \
'-ec_conv_form[specify how the points on the elliptic-curve curve are converted into octet strings]:type:(compressed uncompressed hybrid)' \
'-ec_param_enc[specify how the elliptic curve parameters are encoded]:type:(named_curve explicit)'
'(- *)-help[print help message]' \
$openssl_provider_options[@] \
'-check[check the consistency of a key pair for both public and private components]' \
'-pubcheck[check the correctness of either a public key or the public components of a key pair]' \
'-in[input file or URI]:file_or_uri:_files' \
'-inform[key input format]:format:(DER PEM P12 ENGINE)' \
'-passin[password source for the key input]:source:_openssl_pass_phrase_options' \
'-pubin[read public key instead of private key]' \
'-out[output file name]' \
'-outform[key output format]:format:(DER PEM)' \
'-cipher[cipher to encrypt the PEM encoded private key]:cipher:_openssl_ciphers' \
'-passout[password source for the output file]:source:_openssl_pass_phrase_options' \
'-traditional[use older "traditional" format]' \
'-pubout[output the public components]' \
'-noout[do not output the key in encoded form]' \
'-text[output the various key components in plain text]' \
'-text_pub[output only the public key components in text form]' \
'-ec_conv_form[specify how the points on the elliptic-curve curve are converted into octet strings]:type:(compressed uncompressed hybrid)' \
'-ec_param_enc[specify how the elliptic curve parameters are encoded]:type:(named_curve explicit)'
}
_openssl_pkeyparam() {
@ -1721,8 +1721,8 @@ _openssl_s_client() {
local tls_start_protocols=(smtp pop3 imap ftp xmpp xmpp-server irc postgres mysql lmtp nntp sieve ldap)
_arguments \
'(- *)-help[print help message]' \
'-ssl_config[section of the configuration file to configure the SSL_CTX object]:section' \
'(- *)-help[print help message]' \
'-ssl_config[section of the configuration file to configure the SSL_CTX object]:section' \
'-connect[host and optional port to connect to]:host_port' \
'-host[host to connect to]:host' \
'-port[port to connect to]:port' \
@ -1835,129 +1835,129 @@ _openssl_s_client() {
_openssl_s_server() {
_arguments \
'(- *)-help[print help message]' \
'-port[TCP port to listen on for connections(default: 4433)]:port' \
'-accept[optional TCP host and port to listen on for connections(default: *:4433)]:host_port' \
'-unix[Unix domain socket path]:path:_files' \
'(-4 -6)-4[use IPv4 only]' \
'(-4 -6)-6[use IPv6 only]' \
'-unlink[for -unix, unlink any existing socket first]' \
'-context[SSL context ID]:id' \
'(-verify -Verify)'{-verify,-Verify}'[verify depth]:depth' \
'-cert[certificate file]:file:_files' \
'-cert2[certificate file to use for servername(default: server2.pem)]:file:_files' \
'-certform[server certificate file format]:format:(DER PEM P12)' \
'-cert_chain[file or URI of untrusted certificates to build the certificate chain]:file_or_uri:_files' \
'-build_chain[application should build the server certificate chain]' \
'-serverinfo[file containing one or more blocks of PEM data]:file:_files' \
'-key[private key file or URI]:file_or_uri:_files' \
'-key2[private key file or URI to use for servername]:file_or_uri:_files' \
'-keyform[key format]:format:(DER PEM P12 ENGINE)' \
'-pass[private key and certificate file password source]:source:_openssl_pass_phrase_options' \
'-dcert[additional certificate file]:file:_files' \
'-dkey[additional private key file or URI]:file_or_uri:_files' \
'-dcert_chain[file or URI of untrusted certificates to build the server certificate chain]:file_or_uri:_files' \
'-dcertform[format of the additional certificate file]:format:(DER PEM P12)' \
'-dkeyform[format of the additional private key]:format:(DER PEM P12 ENGINE)' \
'-dpass[passphrase for the additional private key and certificate]:pass:_openssl_pass_phrase_options' \
'-nbio_test[test non blocking I/O]' \
'-crlf[translate a line feed from the terminal into CR+LF]' \
'-debug[print extensive debugging information including a hex dump of all traffic]' \
'-security_debug[print output from SSL/TLS security framework]' \
'-security_debug_verbose[print more output from SSL/TLS security framework]' \
'-msg[show all protocol messages with hex dump]' \
'-msgfile[file to send output of -msg or -trace to]:file:_files' \
'-state[print the SSL session states]' \
'-CRL[CRL file]:file:_files' \
'-CRLform[CRL file format]:format:(DER PEM)' \
'-crl_download[download CRLs from distribution points]' \
'-verifyCAfile[file in PEM format CA containing trusted certificates to verify client certificates]:file:_files' \
'-verifyCApath[directory containing trusted certificates to verify client certificates]:dir:_files -/' \
'-verifyCAstore[URI of a store containing trusted certificates to verify client certificates]:uri:_urls' \
'-chainCAfile[file in PEM format containing trusted certificates to build the server certificate chain]:file:_files' \
'-chainCApath[directory containing trusted certificates for building server certificate chain]:dir:_files -/' \
'-chainCAstore[URI of a store containing trusted certificates for building server certificate chain]:uri:_urls' \
'-nocert[no certificate is used]' \
'-quiet[inhibit printing of session and certificate information]' \
'-no_resume_ephemeral[disable caching and tickets if ephemeral (EC)DH is used]' \
'-tlsextdebug[print a hex dump of any TLS extensions received from the server]' \
'-www[send a status message back to the client when it connects]' \
'(-WWW -HTTP)'{-WWW,-HTTP}'[emulate a simple web server]' \
'-http_server_binmode[acting as web-server open files in binary mode]' \
'-no_ca_names[disable TLS Extension CA Names]' \
'-ignore_unexpected_eof[peer does not need to send the close_notify alert]' \
'-servername[servername for HostName TLS extension]' \
'-servername_fatal[send fatal alert on servername mismatch]' \
'-id_prefix[generate SSL/TLS session IDs prefixed by this ID]:id' \
'-keymatexport[export keying material using label]:label' \
'-keymatexportlen[export the given number of bytes of keying material(default: 20)]:length' \
'-no_cache[disable session cache]' \
'-ext_cache[disable internal cache]' \
'-verify_return_error[close the connection when verification errors occur]' \
'-verify_quiet[no verify output except verify errors]' \
'(-no_ign_eof -ign_eof)-ign_eof[ignore input EOF]' \
'(-no_ign_eof -ign_eof)-no_ign_eof[do not ignore input EOF]' \
'-no_ems[disable Extended master secret negotiation]' \
'-status[enable certificate status request support]' \
'-status_verbose[enable certificate status request support and verbose output of OCSP response]' \
'-status_timeout[set the timeout for OCSP reponse to the given seconds]:seconds' \
'-proxy[HTTP(S) proxy server]:proxy' \
'-no_proxy[list of IP addresses and/or DNS names not to use an HTTP(S) proxy for]:addresses' \
'-status_url[set a fallback responder URL]:url:_urls' \
'-status_file[status file]:file:_files' \
'-ssl_config[configure SSL_CTX using the given configure value]:config' \
'-trace[show verbose trace output of protocol messages]' \
'-brief[provide a brief summary of connection parameters]' \
'-rev[simple echo server that sends back received text reserved]' \
'-async[switch on asynchronous mode]' \
'-max_send_frag[maximum size of data fragment to send]:size' \
'-split_send_frag[size used to split data for encrypt pipelines]:size' \
'-max_pipelines[maximum number of encrypt/decrypt pipelines]:number' \
'-naccept[server will exit after receiving the specified number of connections(default: unlimited)]:number' \
'-read_buf[default read buffer size for connections]:size' \
'-no_tx_cert_comp[disable support for sending TLSv1.3 compressed certificates]' \
'-no_rx_cert_comp[disable support for receiving TLSv1.3 compressed certificates]' \
'-no_comp[disable negotiation of TLS compression]' \
'-num_tickets[control the number of tickets that will be sent to the client after a full handshake in TLSv1.3]' \
'-dhparam[DH parameter file to use]:file:_files' \
'-nbio[turn on non blocking I/O]' \
'-timeout[enable timeout]' \
'-mtu[set link-layer MTU]:size' \
'-psk_identity[PSK identify when using a PSK cipher suite]:id' \
'-psk_hint[PSK identity hint when using a PSK cipher suite]:hint' \
'-psk[PSK key when using a PSK cipher suite]:key' \
'-psk_session[file contains pem encoded SSL_SESSION data]:file:_files' \
'-srpvfile[verifier file for SRP]:file:_files' \
'-listen[listen on a UDP port for incoming connections]' \
'-sctp[use SCTP for the transport protocol instead of UDP in DTLS]' \
'-sctp_label_bug[allow communication with older broken implementations]' \
'-use_srtp[offer SRTP key management with a colon-separated profile list]:list' \
'-no_dhe[no DH parameters will be loaded]' \
'-alpn[enable the Application-Layer Protocol Negotiation extension]:protocol' \
'-nextprotoneg[enable the Next Protocol Negotiation extension]:protocol' \
'-ktls[enable kernel TLS for sending and receiving]' \
'-sendfile[SSL_sendfile will be used instead of BIO_write to send response]' \
'-zerocopy_sendfile[SSL_sendfile will use the zerocopy TX mode]' \
'-keylogfile[append TLS secrets to the specified keylog file]:file:_files' \
'-max_early_data[change the default maximum early data bytes for new sessions and incoming early data]:size' \
'-recv_max_early_data[hard limit on the maximum number of early data bytes that will be accepted]:bytes' \
'-early_data[accept early data where possible]' \
'-stateless[require TLSv1.3 cookies]' \
'(-anti_replay -no_anti_replay)-anti_replay[switch replay protection on]' \
'(-anti_replay -no_anti_replay)-no_anti_replay[switch replay protection off]' \
'-tfo[enable acceptance of TCP fast Open connections]' \
'-cert_comp[pre-compresses certificates that will be sent during the handshake]' \
'-nameopt[how the subject or issuer names are displayed]:how:_openssl_name_display_options' \
$openssl_tls_flags[@] \
$openssl_dtls_flags[@] \
$openssl_supported_commands_flags[@] \
$openssl_extended_verification_flags[@] \
$openssl_trusted_certificate_options[@] \
$openssl_random_state_options[@] \
$openssl_provider_options[@] \
$openssl_verification_options[@] \
'-enable_server_rpk[enable support for sending raw public keys to the client]' \
'-enable_client_rpk[enable support for receiving raw public keys from the client]'
'(- *)-help[print help message]' \
'-port[TCP port to listen on for connections(default: 4433)]:port' \
'-accept[optional TCP host and port to listen on for connections(default: *:4433)]:host_port' \
'-unix[Unix domain socket path]:path:_files' \
'(-4 -6)-4[use IPv4 only]' \
'(-4 -6)-6[use IPv6 only]' \
'-unlink[for -unix, unlink any existing socket first]' \
'-context[SSL context ID]:id' \
'(-verify -Verify)'{-verify,-Verify}'[verify depth]:depth' \
'-cert[certificate file]:file:_files' \
'-cert2[certificate file to use for servername(default: server2.pem)]:file:_files' \
'-certform[server certificate file format]:format:(DER PEM P12)' \
'-cert_chain[file or URI of untrusted certificates to build the certificate chain]:file_or_uri:_files' \
'-build_chain[application should build the server certificate chain]' \
'-serverinfo[file containing one or more blocks of PEM data]:file:_files' \
'-key[private key file or URI]:file_or_uri:_files' \
'-key2[private key file or URI to use for servername]:file_or_uri:_files' \
'-keyform[key format]:format:(DER PEM P12 ENGINE)' \
'-pass[private key and certificate file password source]:source:_openssl_pass_phrase_options' \
'-dcert[additional certificate file]:file:_files' \
'-dkey[additional private key file or URI]:file_or_uri:_files' \
'-dcert_chain[file or URI of untrusted certificates to build the server certificate chain]:file_or_uri:_files' \
'-dcertform[format of the additional certificate file]:format:(DER PEM P12)' \
'-dkeyform[format of the additional private key]:format:(DER PEM P12 ENGINE)' \
'-dpass[passphrase for the additional private key and certificate]:pass:_openssl_pass_phrase_options' \
'-nbio_test[test non blocking I/O]' \
'-crlf[translate a line feed from the terminal into CR+LF]' \
'-debug[print extensive debugging information including a hex dump of all traffic]' \
'-security_debug[print output from SSL/TLS security framework]' \
'-security_debug_verbose[print more output from SSL/TLS security framework]' \
'-msg[show all protocol messages with hex dump]' \
'-msgfile[file to send output of -msg or -trace to]:file:_files' \
'-state[print the SSL session states]' \
'-CRL[CRL file]:file:_files' \
'-CRLform[CRL file format]:format:(DER PEM)' \
'-crl_download[download CRLs from distribution points]' \
'-verifyCAfile[file in PEM format CA containing trusted certificates to verify client certificates]:file:_files' \
'-verifyCApath[directory containing trusted certificates to verify client certificates]:dir:_files -/' \
'-verifyCAstore[URI of a store containing trusted certificates to verify client certificates]:uri:_urls' \
'-chainCAfile[file in PEM format containing trusted certificates to build the server certificate chain]:file:_files' \
'-chainCApath[directory containing trusted certificates for building server certificate chain]:dir:_files -/' \
'-chainCAstore[URI of a store containing trusted certificates for building server certificate chain]:uri:_urls' \
'-nocert[no certificate is used]' \
'-quiet[inhibit printing of session and certificate information]' \
'-no_resume_ephemeral[disable caching and tickets if ephemeral (EC)DH is used]' \
'-tlsextdebug[print a hex dump of any TLS extensions received from the server]' \
'-www[send a status message back to the client when it connects]' \
'(-WWW -HTTP)'{-WWW,-HTTP}'[emulate a simple web server]' \
'-http_server_binmode[acting as web-server open files in binary mode]' \
'-no_ca_names[disable TLS Extension CA Names]' \
'-ignore_unexpected_eof[peer does not need to send the close_notify alert]' \
'-servername[servername for HostName TLS extension]' \
'-servername_fatal[send fatal alert on servername mismatch]' \
'-id_prefix[generate SSL/TLS session IDs prefixed by this ID]:id' \
'-keymatexport[export keying material using label]:label' \
'-keymatexportlen[export the given number of bytes of keying material(default: 20)]:length' \
'-no_cache[disable session cache]' \
'-ext_cache[disable internal cache]' \
'-verify_return_error[close the connection when verification errors occur]' \
'-verify_quiet[no verify output except verify errors]' \
'(-no_ign_eof -ign_eof)-ign_eof[ignore input EOF]' \
'(-no_ign_eof -ign_eof)-no_ign_eof[do not ignore input EOF]' \
'-no_ems[disable Extended master secret negotiation]' \
'-status[enable certificate status request support]' \
'-status_verbose[enable certificate status request support and verbose output of OCSP response]' \
'-status_timeout[set the timeout for OCSP reponse to the given seconds]:seconds' \
'-proxy[HTTP(S) proxy server]:proxy' \
'-no_proxy[list of IP addresses and/or DNS names not to use an HTTP(S) proxy for]:addresses' \
'-status_url[set a fallback responder URL]:url:_urls' \
'-status_file[status file]:file:_files' \
'-ssl_config[configure SSL_CTX using the given configure value]:config' \
'-trace[show verbose trace output of protocol messages]' \
'-brief[provide a brief summary of connection parameters]' \
'-rev[simple echo server that sends back received text reserved]' \
'-async[switch on asynchronous mode]' \
'-max_send_frag[maximum size of data fragment to send]:size' \
'-split_send_frag[size used to split data for encrypt pipelines]:size' \
'-max_pipelines[maximum number of encrypt/decrypt pipelines]:number' \
'-naccept[server will exit after receiving the specified number of connections(default: unlimited)]:number' \
'-read_buf[default read buffer size for connections]:size' \
'-no_tx_cert_comp[disable support for sending TLSv1.3 compressed certificates]' \
'-no_rx_cert_comp[disable support for receiving TLSv1.3 compressed certificates]' \
'-no_comp[disable negotiation of TLS compression]' \
'-num_tickets[control the number of tickets that will be sent to the client after a full handshake in TLSv1.3]' \
'-dhparam[DH parameter file to use]:file:_files' \
'-nbio[turn on non blocking I/O]' \
'-timeout[enable timeout]' \
'-mtu[set link-layer MTU]:size' \
'-psk_identity[PSK identify when using a PSK cipher suite]:id' \
'-psk_hint[PSK identity hint when using a PSK cipher suite]:hint' \
'-psk[PSK key when using a PSK cipher suite]:key' \
'-psk_session[file contains pem encoded SSL_SESSION data]:file:_files' \
'-srpvfile[verifier file for SRP]:file:_files' \
'-listen[listen on a UDP port for incoming connections]' \
'-sctp[use SCTP for the transport protocol instead of UDP in DTLS]' \
'-sctp_label_bug[allow communication with older broken implementations]' \
'-use_srtp[offer SRTP key management with a colon-separated profile list]:list' \
'-no_dhe[no DH parameters will be loaded]' \
'-alpn[enable the Application-Layer Protocol Negotiation extension]:protocol' \
'-nextprotoneg[enable the Next Protocol Negotiation extension]:protocol' \
'-ktls[enable kernel TLS for sending and receiving]' \
'-sendfile[SSL_sendfile will be used instead of BIO_write to send response]' \
'-zerocopy_sendfile[SSL_sendfile will use the zerocopy TX mode]' \
'-keylogfile[append TLS secrets to the specified keylog file]:file:_files' \
'-max_early_data[change the default maximum early data bytes for new sessions and incoming early data]:size' \
'-recv_max_early_data[hard limit on the maximum number of early data bytes that will be accepted]:bytes' \
'-early_data[accept early data where possible]' \
'-stateless[require TLSv1.3 cookies]' \
'(-anti_replay -no_anti_replay)-anti_replay[switch replay protection on]' \
'(-anti_replay -no_anti_replay)-no_anti_replay[switch replay protection off]' \
'-tfo[enable acceptance of TCP fast Open connections]' \
'-cert_comp[pre-compresses certificates that will be sent during the handshake]' \
'-nameopt[how the subject or issuer names are displayed]:how:_openssl_name_display_options' \
$openssl_tls_flags[@] \
$openssl_dtls_flags[@] \
$openssl_supported_commands_flags[@] \
$openssl_extended_verification_flags[@] \
$openssl_trusted_certificate_options[@] \
$openssl_random_state_options[@] \
$openssl_provider_options[@] \
$openssl_verification_options[@] \
'-enable_server_rpk[enable support for sending raw public keys to the client]' \
'-enable_client_rpk[enable support for receiving raw public keys from the client]'
}
_openssl_s_time() {

View File

@ -208,13 +208,13 @@ _scala() {
;;
(*)
case $service in
(scala)
_arguments $scala_options $common_options "*::filename:_files" && ret=0
;;
(scalac)
_arguments $common_options "*::filename:_files" && ret=0
;;
esac
(scala)
_arguments $scala_options $common_options "*::filename:_files" && ret=0
;;
(scalac)
_arguments $common_options "*::filename:_files" && ret=0
;;
esac
;;
esac