commit
f178a3b36b
|
@ -338,7 +338,7 @@ _conan_create_args() {
|
||||||
'(-v --verify)'{-v,--verify}'[Verify dependencies manifests against stored ones]:verify' \
|
'(-v --verify)'{-v,--verify}'[Verify dependencies manifests against stored ones]:verify' \
|
||||||
'(-b --build)'{-b,--build}'[Optional, specify which packages to build from source]:build' \
|
'(-b --build)'{-b,--build}'[Optional, specify which packages to build from source]:build' \
|
||||||
'(-r --remote)'{-r,--remote}'[Look in the specified remote server]:remote' \
|
'(-r --remote)'{-r,--remote}'[Look in the specified remote server]:remote' \
|
||||||
'(-u --update)'{-u,--update}'[Look in the specified remote server and it will install thoses in the local cache]' \
|
'(-u --update)'{-u,--update}'[Look in the specified remote server and it will install those in the local cache]' \
|
||||||
'(-l --lockfile)'{-l,--lockfile}'[Path to a lockfile]: :_files' \
|
'(-l --lockfile)'{-l,--lockfile}'[Path to a lockfile]: :_files' \
|
||||||
'--lockfile-out[Filename of the updated lockfile]' \
|
'--lockfile-out[Filename of the updated lockfile]' \
|
||||||
\*{-e,--env}'[Environment variables that will be set during the package build(host machine)]: :_conan_environment_variables' \
|
\*{-e,--env}'[Environment variables that will be set during the package build(host machine)]: :_conan_environment_variables' \
|
||||||
|
@ -557,7 +557,7 @@ _conan_workspace_install_args() {
|
||||||
'(- : *)'{-h,--help}'[display help information]' \
|
'(- : *)'{-h,--help}'[display help information]' \
|
||||||
'(-b --build)'{-b,--build}'[Optional, specify which packages to build from source]:build' \
|
'(-b --build)'{-b,--build}'[Optional, specify which packages to build from source]:build' \
|
||||||
'(-r --remote)'{-r,--remote}'[Look in the specified remote server]:remote' \
|
'(-r --remote)'{-r,--remote}'[Look in the specified remote server]:remote' \
|
||||||
'(-u --update)'{-u,--update}'[Will check the remote and it will install thoses in the local cache]' \
|
'(-u --update)'{-u,--update}'[Will check the remote and it will install those in the local cache]' \
|
||||||
'(-l --lockfile)'{-l,--lockfile}'[Path to a lockfile]: :_files' \
|
'(-l --lockfile)'{-l,--lockfile}'[Path to a lockfile]: :_files' \
|
||||||
'--lockfile-out[Filename of the updated lockfile]' \
|
'--lockfile-out[Filename of the updated lockfile]' \
|
||||||
\*{-e,--env}'[Environment variables that will be set during the package build(host machine)]: :_conan_environment_variables' \
|
\*{-e,--env}'[Environment variables that will be set during the package build(host machine)]: :_conan_environment_variables' \
|
||||||
|
@ -943,7 +943,7 @@ _conan_lock_create_args() {
|
||||||
'--base[Lock only recipe versions and revisions]' \
|
'--base[Lock only recipe versions and revisions]' \
|
||||||
'--lockfile-out[Filename of the updated lockfile]: :_files' \
|
'--lockfile-out[Filename of the updated lockfile]: :_files' \
|
||||||
'(-r --remote)'{-r,--remote}'[Look in the specified remote server]:remote' \
|
'(-r --remote)'{-r,--remote}'[Look in the specified remote server]:remote' \
|
||||||
'(-u --update)'{-u,--update}'[Will check the remote and it will install thoses in the local cache]' \ \*{-e,--env}'[Environment variables that will be set during the package build(host machine)]:env' \
|
'(-u --update)'{-u,--update}'[Will check the remote and it will install those in the local cache]' \ \*{-e,--env}'[Environment variables that will be set during the package build(host machine)]:env' \
|
||||||
\*{'-e\:b','--env\:build'}'[Environment variables that will be set during the package build(build machine)]:env' \
|
\*{'-e\:b','--env\:build'}'[Environment variables that will be set during the package build(build machine)]:env' \
|
||||||
\*{'-e\:h','--env\:host'}'[Environment variables that will be set during the package build(host machine)]:env' \
|
\*{'-e\:h','--env\:host'}'[Environment variables that will be set during the package build(host machine)]:env' \
|
||||||
\*{-o,--options}'[Define options values(host machine)]:option' \
|
\*{-o,--options}'[Define options values(host machine)]:option' \
|
||||||
|
|
|
@ -88,7 +88,7 @@ _inxi() {
|
||||||
'(-a --admin)'{-a,--admin}"[Admin extra data options]:admin option:->admin" \
|
'(-a --admin)'{-a,--admin}"[Admin extra data options]:admin option:->admin" \
|
||||||
"--alt[Bypass a downloader option]:downloader:_inxi_alt" \
|
"--alt[Bypass a downloader option]:downloader:_inxi_alt" \
|
||||||
'--bt-tool[Force use of given tool for bluetooth report]' \
|
'--bt-tool[Force use of given tool for bluetooth report]' \
|
||||||
'(--no-dig --dig)--dig[Overrides configration item NO_DIG]' \
|
'(--no-dig --dig)--dig[Overrides configuration item NO_DIG]' \
|
||||||
"--display[Get display data out of X]:\:<integer>: " \
|
"--display[Get display data out of X]:\:<integer>: " \
|
||||||
"--dmidecode[Force use of dmidecode]" \
|
"--dmidecode[Force use of dmidecode]" \
|
||||||
"--downloader[Force inxi to use a specific downloader]:downloader:(curl fetch perl wget)" \
|
"--downloader[Force inxi to use a specific downloader]:downloader:(curl fetch perl wget)" \
|
||||||
|
|
|
@ -431,7 +431,7 @@ _nft_table(){
|
||||||
_describe -t families "family" families -J "family"
|
_describe -t families "family" families -J "family"
|
||||||
fi
|
fi
|
||||||
if [[ "$1" =~ "-handle$" ]]; then
|
if [[ "$1" =~ "-handle$" ]]; then
|
||||||
tables=("handle:adress the table by handle")
|
tables=("handle:address the table by handle")
|
||||||
#remove -handle from $1 to be able to complete table names
|
#remove -handle from $1 to be able to complete table names
|
||||||
1="${1/-handle/}"
|
1="${1/-handle/}"
|
||||||
_describe -t tables "table" tables -V "handle"
|
_describe -t tables "table" tables -V "handle"
|
||||||
|
@ -470,7 +470,7 @@ _nft_object(){
|
||||||
local objects=( ${(f)"$(_call_program -p objects nft -a list table $1 $2 2>/dev/null\
|
local objects=( ${(f)"$(_call_program -p objects nft -a list table $1 $2 2>/dev/null\
|
||||||
| grep ""\\s\*$3"" | sed 's/\s*'"$3"' // ;s/ { # \(.*\)/:(\1)/' )"} )
|
| grep ""\\s\*$3"" | sed 's/\s*'"$3"' // ;s/ { # \(.*\)/:(\1)/' )"} )
|
||||||
if $4 ;then
|
if $4 ;then
|
||||||
objects+=( "handle:adress $3 by handle")
|
objects+=( "handle:address $3 by handle")
|
||||||
fi
|
fi
|
||||||
_describe -t objects "$3" objects
|
_describe -t objects "$3" objects
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,7 +93,7 @@ _openssl_asn1parse() {
|
||||||
_openssl_ca() {
|
_openssl_ca() {
|
||||||
# written for openssl 1.0.1k
|
# written for openssl 1.0.1k
|
||||||
_arguments -C \
|
_arguments -C \
|
||||||
'-verbose[talk alot while doing things]' \
|
'-verbose[talk a lot while doing things]' \
|
||||||
'-config[a config file]:file:_files' \
|
'-config[a config file]:file:_files' \
|
||||||
'-name[the particular CA definition to use]:section: ' \
|
'-name[the particular CA definition to use]:section: ' \
|
||||||
'-gencrl[generate a new CRL]' \
|
'-gencrl[generate a new CRL]' \
|
||||||
|
|
|
@ -400,7 +400,7 @@ _createdb () {
|
||||||
\
|
\
|
||||||
--maintenance-db=':alternate maintenance database:_pgsql_databases' \
|
--maintenance-db=':alternate maintenance database:_pgsql_databases' \
|
||||||
{-q,--quiet}'[non verbose mode]' \
|
{-q,--quiet}'[non verbose mode]' \
|
||||||
--location=':database location (unsupported since PostgrSQL 8.0):_directories' \
|
--location=':database location (unsupported since PostgreSQL 8.0):_directories' \
|
||||||
':PostgreSQL database:' \
|
':PostgreSQL database:' \
|
||||||
':comment:'
|
':comment:'
|
||||||
}
|
}
|
||||||
|
@ -415,7 +415,7 @@ _dropdb () {
|
||||||
{-f,--force}'[try to terminate other connections before dropping]' \
|
{-f,--force}'[try to terminate other connections before dropping]' \
|
||||||
{-i,--interactive}'[confirm before drop]' \
|
{-i,--interactive}'[confirm before drop]' \
|
||||||
{-V,--version}'[output version information, then exit]' \
|
{-V,--version}'[output version information, then exit]' \
|
||||||
--if-exists'[don'\''t treport error if database does'\''t exist]' \
|
--if-exists'[don'\''t report error if database does'\''t exist]' \
|
||||||
--maintenance-db=':alternate maintenance database:_pgsql_databases' \
|
--maintenance-db=':alternate maintenance database:_pgsql_databases' \
|
||||||
{-q,--quiet}'[non verbose mode]' \
|
{-q,--quiet}'[non verbose mode]' \
|
||||||
':PostgreSQL database:_pgsql_databases'
|
':PostgreSQL database:_pgsql_databases'
|
||||||
|
|
2
src/_pm2
2
src/_pm2
|
@ -197,7 +197,7 @@ _pm2() {
|
||||||
_arguments \
|
_arguments \
|
||||||
'(- *)'{-h,--help}'[output usage information]' \
|
'(- *)'{-h,--help}'[output usage information]' \
|
||||||
'--port[specify port to listen to]:port' \
|
'--port[specify port to listen to]:port' \
|
||||||
'--spa[always serving index.html on inexistant sub path]' \
|
'--spa[always serving index.html on inexistent sub path]' \
|
||||||
'--basic-auth-username[set basic auth username]:username' \
|
'--basic-auth-username[set basic auth username]:username' \
|
||||||
'--basic-auth-password[set basic auth password]:password' \
|
'--basic-auth-password[set basic auth password]:password' \
|
||||||
'--monitor[frontend app monitoring]:app' \
|
'--monitor[frontend app monitoring]:app' \
|
||||||
|
|
|
@ -247,8 +247,8 @@ _vboxmanage() {
|
||||||
'--description=[Specifies a text description of the medium]:desc' \
|
'--description=[Specifies a text description of the medium]:desc' \
|
||||||
'--move=[Specifies a relative or absolute path to a medium on the host system]: :_files' \
|
'--move=[Specifies a relative or absolute path to a medium on the host system]: :_files' \
|
||||||
'*--property=[Specifies any required file format dependent parameters in key=value form]:value' \
|
'*--property=[Specifies any required file format dependent parameters in key=value form]:value' \
|
||||||
'--resize=[Specifes the new capacity of an existing image in MB]:size' \
|
'--resize=[Specifies the new capacity of an existing image in MB]:size' \
|
||||||
'--resizebyte=[Specifes the new capacity of an existing image in bytes]:size' \
|
'--resizebyte=[Specifies the new capacity of an existing image in bytes]:size' \
|
||||||
'--setlocation=[Specifies the new location of the medium]: :_files' \
|
'--setlocation=[Specifies the new location of the medium]: :_files' \
|
||||||
'--type=[Specifies the new mode type of an existing image]: :(normal immutable writethrough multi-attach shareable readonly)' \
|
'--type=[Specifies the new mode type of an existing image]: :(normal immutable writethrough multi-attach shareable readonly)' \
|
||||||
'1:medium:(disk dvd floppy)' \
|
'1:medium:(disk dvd floppy)' \
|
||||||
|
|
Loading…
Reference in New Issue