Fix typos

This commit is contained in:
Dimitris Apostolou 2020-04-09 01:19:36 +03:00
parent 578d1d59c2
commit 9e9bee7066
No known key found for this signature in database
GPG Key ID: 4B5D20E938204A8A
32 changed files with 74 additions and 74 deletions

View File

@ -9,7 +9,7 @@ Contributions are welcome, just make sure you follow the guidelines:
* Please do not just copy/paste someone else's completion, ask before.
* Partially implemented completions are not accepted.
* Please add a header containing authors, status and origin of the script and license header if you do not wish to use the Zsh license (example [here](src/_tox)).
* Any reasonable open source licence is acceptable but note that we recommend the use of the Zsh license and that you should use it if you hope for the function to migrate to zsh itself.
* Any reasonable open source license is acceptable but note that we recommend the use of the Zsh license and that you should use it if you hope for the function to migrate to zsh itself.
* Please try to follow the [Zsh completion style guide](https://github.com/zsh-users/zsh/blob/master/Etc/completion-style-guide).
* Please send one separate pull request per file.
* Send a pull request or ask for committer access.

View File

@ -47,7 +47,7 @@ _bitcoin-cli() {
-datadir='[Specify data directory]:PATH:_directories' \
-getinfo='[Get general information from the remote server.]' \
-testnet'[Use the test chain]' \
-regtest'[Enter regression test mode, which uses a special chain in which blocks can be solved instantly. This is intended for regression testing tools and app development.]' \
-regtest'[Enter regression test mode, which uses a special chain in which blocks can be solved instantly. This is intended for regression testing tools and app development.]' \
-named'[Pass named instead of positional arguments (default: false)]' \
-stdin'[Read extra arguments from standard input, one per line until EOF/Ctrl-D (recommended for sensitive information such as passphrases)]' \
-rpcport='[Connect to JSON-RPC on <port> (default: 8332, testnet: 18332, regtest: 18443)]: :_guard "[[\:digit\:]]#" "PORT"' \

View File

@ -88,7 +88,7 @@ case $state in
'(--with)--with=-[include gems that are part of the specified named group]:groups' \
'(--clean)--clean[remove any gems not present in the current Gemfile]' \
'(--full-index)--full-index[download and cache the index file of all gems]' \
'(--jobs)--jobs=-[install gems parallely]:number' \
'(--jobs)--jobs=-[install gems parallelly]:number' \
'(--force)--force[force download every gem]' \
'(--no-cache)--no-cache[do not update the cache in vendor/cache with newly installed gems]' \
'(--no-prune)--no-prune[do not remove stale gem from cache after installation]' \

View File

@ -164,10 +164,10 @@ if [[ "$service" = -value-* ]]; then
_alternative ':PATH for compiler lookup (instead of $PATH):_dir_list'
;;
*CCACHE_PREFIX*)
_alternative ':prefixes for compiler invokation: '
_alternative ':prefixes for compiler invocation: '
;;
*CCACHE_PREFIX_CPP*)
_alternative ':prefixes for preprocessor invokation: '
_alternative ':prefixes for preprocessor invocation: '
;;
*CCACHE_*READONLY*)
_ccache_booleans "treat cache as read-only"
@ -179,7 +179,7 @@ if [[ "$service" = -value-* ]]; then
_ccache_booleans "use cache in write-only mode"
;;
*CCACHE_*CPP2*)
_ccache_booleans "pass originial rather than preprocessed source code to compiler"
_ccache_booleans "pass original rather than preprocessed source code to compiler"
;;
*CCACHE_SLOPPINESS*)
_ccache_sloppiness
@ -228,8 +228,8 @@ __ccache_config_keys() {
'max_files:maximum number of files in the cache'
'max_size:maximum size of the cache'
'path:PATH for compiler lookup (instead of $PATH)'
'prefix_command:prefixes for compiler invokation'
'prefix_command_cpp:prefixes for preprocessor invokation'
'prefix_command:prefixes for compiler invocation'
'prefix_command_cpp:prefixes for preprocessor invocation'
'sloppiness:hash files sloppy'
'umask:set umask for ccache and child processes (e.g. for sharing cache)'
)
@ -289,10 +289,10 @@ if compset -P '--set-config=*='; then
_alternative ':PATH for compiler lookup (instead of $PATH):_dir_list'
;;
*=prefix_command=)
_alternative ':prefixes for compiler invokation: '
_alternative ':prefixes for compiler invocation: '
;;
*=prefix_command_cpp=)
_alternative ':prefixes for preprocessor invokation: '
_alternative ':prefixes for preprocessor invocation: '
;;
*=sloppiness=)
_ccache_sloppiness

View File

@ -460,7 +460,7 @@ __space() {
_arguments \
'1:space name:__cf_spaces' \
'--guid[Retrieve and display the given space guid. All other output for the space is suppressed]' \
'--security-group-rules[Retrive the rules for all the security groups associated with the space]'
'--security-group-rules[Retrieve the rules for all the security groups associated with the space]'
}
__create-space() {

View File

@ -54,9 +54,9 @@ local context state line curcontext="$curcontext" cmake_args
local cmake_build_options;cmake_build_options=(
'-C[Pre-load a script to populate the cache]:script:_files'
'*-D-[Create a cmake cache entry]:property:_cmake_define_property'
'*-D-[Create a CMake cache entry]:property:_cmake_define_property'
'-U[Remove matching entries from CMake cache]:globbing expression'
'-G[Specify a makefile generator]:generator:_cmake_generators'
'-G[Specify a Makefile generator]:generator:_cmake_generators'
'-T[Specify toolset name if supported by generator]:toolset name'
'(-Wno-dev -Wdev)-Wno-dev[Suppress/Enable developer warnings]'
'(-Wno-dev -Wdev)-Wdev[Suppress/Enable developer warnings]'
@ -68,7 +68,7 @@ local cmake_build_options;cmake_build_options=(
'(-Wno-error=deprecated -Werror=deprecated)-Wno-error=deprecated[Make deprecated macro and function warnings (not) errors]'
'--warn-uninitialized[Warn about uninitialized values.]'
'--warn-unused-vars[Warn about unused variables.]'
'--no-warn-unused-cli[Dont warn about command line options.]'
'--no-warn-unused-cli[Don'\''t warn about command line options.]'
'-i[Run in wizard mode]'
'-L-[List cache variables]::_values "options" "[non-advanced cache variables]" "A[advanced cache variables]" "H[non-advanced cached variables with help]" "AH[advanced cache variables with help]"'
'--trace[Put cmake in trace mode]'
@ -106,7 +106,7 @@ _cmake_targets() {
local -a targets
if [ -f $1/Makefile ]
then
# `make help` doesn't work for Makefiles in general, but for cmake generated makefiles it does.
# `make help` doesn't work for Makefiles in general, but for CMake generated Makefiles it does.
i=1
for target in $(make help | \grep -e "\.\.\." | sed "s/\.\.\. //" | sed "s/ (the default.*//") ; do
targets[$i]=$target
@ -321,10 +321,10 @@ _cmake_define_lang_property_names() {
(( $+functions[_cmake_define_common_property_names] )) ||
_cmake_define_common_property_names() {
local properties; properties=(
'CMAKE_MODULE_PATH:Search path for cmake modules (FindPROJECT.cmake)'
'CMAKE_MODULE_PATH:Search path for CMake modules (FindPROJECT.cmake)'
'CMAKE_PREFIX_PATH:Search path for installations (PROJECTConfig.cmake)'
'CMAKE_BUILD_TYPE:Specifies the build type for make based generators'
'CMAKE_TOOLCHAIN_FILE:Absolute or relative path to a cmake script which sets up toolchain related variables'
'CMAKE_TOOLCHAIN_FILE:Absolute or relative path to a CMake script which sets up toolchain related variables'
'CMAKE_COLOR_MAKEFILE:Enables/disables color output when using the Makefile generator'
'CMAKE_INSTALL_PREFIX:Install directory used by install'
'CMAKE_EXPORT_COMPILE_COMMANDS:Enable/disable output of compilation database during generation'
@ -450,7 +450,7 @@ _cmake_booleans() {
# ---------------
# _cmake_compilers
#
# by default just executable commands, but can be overriden by users.
# by default just executable commands, but can be overridden by users.
# ---------------
(( $+functions[_cmake_compilers] )) ||
_cmake_compilers() {
@ -460,7 +460,7 @@ _cmake_compilers() {
# ---------------
# _cmake_launchers
#
# by default just executable commands, but can be overriden by users.
# by default just executable commands, but can be overridden by users.
# useful commands might be ccache, distcc, ...
# ---------------
(( $+functions[_cmake_launchers] )) ||

View File

@ -277,7 +277,7 @@ _conan_install_args() {
'(-h --help --werror)--werror[error instead of warnings for graph inconsistencies]' \
'(-h --help -if --install-folder)'{-if,--install-folder}'[Use this directory as the directory where to put the generatorfiles, conaninfo/conanbuildinfo.txt etc.]: :_files -/' \
'(-h --help -m --manifests)'{-m,--manifests}'[install dependencies manifests in folder for later verify]: :_files -/' \
'(-h --help -mi --manifests-interactive)'{-mi,--manifests-interactive}'[install dependencies dependencies manifests in folder for later verify]: :_files -/' \
'(-h --help -mi --manifests-interactive)'{-mi,--manifests-interactive}'[install dependencies manifests in folder for later verify]: :_files -/' \
'(-h --help -v --verify)'{-v,--verify}'[verify dependencies manifests against stored ones]: :_files -/' \
'(-h --help --no-imports)--no-imports[install specified packages but avoid running imports]' \
'(-h --help -u --update)'{-u,--update}'[check updates exist from upstream remotes]' \

View File

@ -1194,7 +1194,7 @@ _concourse_web_args() {
'--postgres-client-key=[client key file location]: :_files' \
'--postgres-connect-timeout=[dialing timeout]: :_concourse_durations' \
'--postgres-database=[the name of the database to use]:database name' \
'--secret-retry-attempts=[the number of attempts secret will be retried to be fetched, in case a retryable error happens]:number' \
'--secret-retry-attempts=[the number of attempts secret will be retried to be fetched, in case a retriable error happens]:number' \
'--secret-retry-interval=[the interval between secret retry retrieval attempts]: :_concourse_durations' \
'--secret-cache-enabled[enable in-memory cache for secrets]' \
'--secret-cache-duration=[if the cache is enabled, secret values will be cached for not longer than this duration]: :_concourse_durations' \
@ -1361,7 +1361,7 @@ _concourse_web_args() {
'--tsa-authorized-keys=[path to file containing keys to authorize, in SSH authorized_keys format]: :_files' \
'--tsa-team-authorized-keys=[path to file containing keys to authorize, in SSH authorized_keys format]: :_concourse_name_colon_paths' \
'--tsa-atc-url=[ATC API endpoints to which workers will be registered]: :_urls' \
'--tsa-session-signing-key=[path to private key to use when signing tokens in reqests to the ATC during registration]: :_files' \
'--tsa-session-signing-key=[path to private key to use when signing tokens in requests to the ATC during registration]: :_files' \
'--tsa-heartbeat-interval=[interval on which to heartbeat workers to the ATC]: :_concourse_durations' \
}

View File

@ -116,7 +116,7 @@ _diana() {
"list:Output the list of active downloads."
"paused:Output the list of paused downloads."
"stopped:Output the list of stopped downloads."
"info:Output informations regarding the given GIDs."
"info:Output information regarding the given GIDs."
"files:Output the files owned by the downloads corresponding to the given GIDs."
"errors:Output the list of errors."
"stats:Output download bandwidth statistics."

View File

@ -51,7 +51,7 @@ _drush() {
'(- *)'{-v,--verbose}'[Display extra information about the command.]' \
'(- *)'{-y,--yes}'[Assume "yes" as answer to all prompts.]' \
'(- *)'{-n,--no}'[Assume "no" as answer to all prompts.]' \
'(- *)'{-s,--simulate}'[Simulate all relevant actions (dont actually change the system).]' \
'(- *)'{-s,--simulate}'[Simulate all relevant actions (don'\''t actually change the system).]' \
'(- *)'{-r,--root=}'[Drupal root directory to use (default: current directory).]' \
'(- *)'{-l,--uri=}'[URI of the drupal site to use (only needed in multisite environments or when running on an alternate port).]' \
'1: :->cmds' \
@ -114,7 +114,7 @@ case $state in
'(--description)--description=[Filter out extensions that are provided by drupal core.]' \
'(--destination)--destination=[The full path and filename in which the archive should be stored. If omitted, it will be saved to the drush-backups directory.]' \
'(--no-core)--no-core[Exclude Drupal core, so the backup only contains the site specific stuff.]' \
'(--pipe)--pipe[Only print the destination of the archive. Useful for scripts that dont pass --destination.]' \
'(--pipe)--pipe[Only print the destination of the archive. Useful for scripts that don'\''t pass --destination.]' \
'(--tar-options)--tar-options=[Options passed thru to the tar command.]' \
&& ret=0
compadd -a global_args
@ -147,7 +147,7 @@ case $state in
'(--no-core)--no-core[Filter out extensions that are provided by drupal core.]' \
'(--pipe)--pipe[Returns a whitespace delimited list of the names of the resulting extensions.]' \
'(--status)--status=-[Filter by extension status. Choices: enabled, disabled and/or "not installed".]:status:(enabled disabled)' \
'(--type)--type=-[Filter by extensions ension type. Choices: module, theme.]:type:(module theme)' \
'(--type)--type=-[Filter by extension type. Choices: module, theme.]:type:(module theme)' \
&& ret=0
;;
(pm-disable|dis)
@ -171,7 +171,7 @@ case $state in
{-v,--verbose}'[Display extra information about the command.]' \
{-y,--yes}'[Assume "yes" as answer to all prompts.]' \
{-n,--no}'[Assume "no" as answer to all prompts.]' \
{-s,--simulate}'[Simulate all relevant actions (dont actually change the system).]' \
{-s,--simulate}'[Simulate all relevant actions (don'\''t actually change the system).]' \
{-r,--root=}'[Drupal root directory to use (default: current directory).]' \
{-l,--uri=}'[URI of the drupal site to use (only needed in multisite environments or when running on an alternate port).]'
;;

View File

@ -43,7 +43,7 @@ _exportfs() {
'(-a -r -u)-i[Ignore the /etc/exports file and files under /etc/exports.d directory]' \
'(-i)-r[Reexport all directories]' \
'(-i)-u[Unexport one or more directories]' \
'-f[flush everything out of export table]' \
'-f[Flush everything out of export table]' \
'-o[option1,option2.. Specify a list of export options]' \
'-s[Display the current export list suitable for /etc/exports]' \
'-v[Be verbose]'

View File

@ -63,7 +63,7 @@ output_levels=(
_arguments -w -S -C \
'(-)'{-h,--help}'[show this help message and exit]: :->noargs' \
'(-)'{-V,--version}'[show program''s version number and exit]: :->noargs' \
'(-)'{-V,--version}'[show program'\''s version number and exit]: :->noargs' \
'(-)--list[print list of possible commands and exit]: :->noargs' \
'(-)--shortlist[print non-verbose list of possible commands and exit]: :->noargs' \
'(--reject-unknown-hosts)--reject-unknown-hosts[reject unknown hosts]' \
@ -75,8 +75,8 @@ _arguments -w -S -C \
'(-p+ --password=-)'{-p+,--password=-}'[password for use with authentication and/or sudo]: :' \
'(-H+ --hosts=-)'{-H+,--hosts=-}'[comma separated list of hosts to operate on]: :' \
'(-R+ --roles=-)'{-R+,--roles=-}'[comma separated list of roles to operate on]: :' \
'(-a --no-agent)'{-a,--no-agent}'[don''t use the running SSH agent]' \
'(-k --no-keys)'{-k,--no-keys}'[don''t load private key files from ~/.ssh/]' \
'(-a --no-agent)'{-a,--no-agent}'[don'\''t use the running SSH agent]' \
'(-k --no-keys)'{-k,--no-keys}'[don'\''t load private key files from ~/.ssh/]' \
'(-w --warn-only)'{-w,--warn-only}'[warn instead of abort, when commands fail]' \
'-i+[path to SSH private key file. May be repeated]: :_files' \
"(-f+ --fabfile=)"{-f+,--fabfile=}"[Python module file to import]: :_files -g *.py" \

View File

@ -136,11 +136,11 @@ _ghc_compiler ()
'-pgms[Use cmd as the splitter]' \
'-pgml[Use cmd as the linker]' \
'-pgmdll[Use cmd as the DLL generator]' \
'-pgmF[Use cmd as the pre-proecessor (with -F only)]' \
'-pgmF[Use cmd as the pre-processor (with -F only)]' \
'-pgmwindres[Use cmd as the program for embedding manifests on Windows]' \
'-pgmlibtool[Use cmd as the command for libtool (with -staticlib only)]' \
'-rtsopts[Only a minimum of safe options can be given to RTS]' \
'-rtsopts=[Control whether the RTS behavior can be tweaked via command-line flags and the GHCRTS environment varaible (none, som, or all)]' \
'-rtsopts=[Control whether the RTS behavior can be tweaked via command-line flags and the GHCRTS environment variable (none, some, or all)]' \
'-with-rtsopts=[Set the default RTS options]' \
'-threaded[Use the threaded runtime]' \
'-ticky[Turn on ticky-ticky profiling]' \

View File

@ -137,7 +137,7 @@ __git-flow-release ()
-s'[Sign the release tag cryptographically]'\
-u'[Use the given GPG-key for the digital signature (implies -s)]'\
-m'[Use the given tag message]'\
-n'[Dont tag this release ]'\
-n'[Don'\''t tag this release]'\
-p'[Push to $ORIGIN after performing finish]'\
-k'[Keep branch after performing finish]'\
':version:__git_flow_version_list'

View File

@ -16,7 +16,7 @@
# Description
# -----------
#
# Completion script for hleder 1.10 ( http://hledger.org/ )
# Completion script for hledger 1.10 ( http://hledger.org/ )
# Last updated: 07.08.2018
#
# ------------------------------------------------------------------------------

View File

@ -46,7 +46,7 @@ _jrnl() {
'(- 1 *)'-v"[Prints version information and exits]" \
'(- 1 *)'-ls"[Displays accessible journals]" \
'(- 1 *)'-d"[Execute in debug mode]" \
'(- 1 *)'--tags"[Returns a list of all tags and number of occurences]" \
'(- 1 *)'--tags"[Returns a list of all tags and number of occurrences]" \
"--short[Show only titles or line containing the search]" \
"-from[View entries after this date]:date:" \
"-until[View entries before this date]:date:" \

View File

@ -24,7 +24,7 @@
# -----------
#
# Completion script for middleman (http://middlemanapp.com/)
# Includes commands from middleman-blog and middleman-deploy extesions.
# Includes commands from middleman-blog and middleman-deploy extensions.
#
# ------------------------------------------------------------------------------
# Authors

View File

@ -339,7 +339,7 @@ _nft_delete(){
local commands=(
"table:delete the specified table"
"chain:delete the specified chain, chain must be empty and mustn't be used as jump target"
"rule:delete the specified rule, rule must be referrable to by a handle"
"rule:delete the specified rule, rule must be referable to by a handle"
"set:delete the specified set"
"map:delete the specified map"
"element:delete element(s) from the specified set/map"

View File

@ -124,7 +124,7 @@ _openssl_ca() {
'-utf8[input characters are UTF8 (default ASCII)]' \
'-multivalue-rdn[enable support for multivalued RDNs]' \
'-extensions[extension section (override value in config file)]:section: ' \
'-extfile[configuration file with X509v3 extentions to add]:file:_files' \
'-extfile[configuration file with X509v3 extensions to add]:file:_files' \
'-crlexts[CRL extension section (override value in config file)]:section: ' \
'-engine[use the specified engine, possibly a hardware device]:engine:_engines' \
'-status[shows certificate status given the serial number]:serial: ' \
@ -253,7 +253,7 @@ _openssl_dgst() {
'-signature[signature to verify]:file:_files' \
'-sigopt[signature parameter]:nm\:v: ' \
'-hmac[create hashed MAC with key]:key: ' \
'-mac[create MAC (not neccessarily HMAC)]:algorithm: ' \
'-mac[create MAC (not necessarily HMAC)]:algorithm: ' \
'-macopt[MAC algorithm parameters or key]:nm\:v: ' \
'-engine[use the specified engine, possibly a hardware device]:engine:_engines' \
"($digests)-dss1[use the dss1 message digest algorithm]" \
@ -681,7 +681,7 @@ _openssl_ocsp() {
'-resp_text[print text form of response]' \
'-text[print text form of request and response]' \
'-reqout[write DER encoded OCSP request to "file"]:file:_files' \
'-respout[write DER encoded OCSP reponse to "file"]:file:_files' \
'-respout[write DER encoded OCSP response to "file"]:file:_files' \
'-reqin[read DER encoded OCSP request from "file"]:file:_files' \
'-respin[read DER encoded OCSP reponse from "file"]:file:_files' \
'-nonce[add OCSP nonce to request]' \
@ -1053,7 +1053,7 @@ _openssl_s_client() {
"(-ign_eof)-no_ign_eof[don't ignore input eof]" \
'-psk_identity[PSK identity]:identity: ' \
'-psk[PSK in hex (without 0x)]:key: ' \
"-srpuser[SRP authentification for 'user']:user: " \
"-srpuser[SRP authentication for 'user']:user: " \
"-srppass[password for 'user']:password: " \
'-srp_lateuser[SRP username into second ClientHello message]' \
'-srp_moregroups[tolerate other than the known g N values]' \
@ -1306,7 +1306,7 @@ _openssl_spkac() {
_openssl_srp() {
# written for openssl 1.0.1k
_arguments -C \
'-verbose[talk alot while doing things]' \
'-verbose[talk a lot while doing things]' \
'-config[a config file]:file:_files' \
'-name[the particular srp definition to use]:definition: ' \
'-srpvfile[the srp verifier file name]:file:_files' \
@ -1372,7 +1372,7 @@ _openssl_ts() {
'-chain[signer certificate chain in PEM format]:file:_files' \
'-policy[default policy to use for response]:policy ID: ' \
'-in[use the previously created time stamp response in DER format]:file:_files' \
'-token_in[the paramter to -in is a time stamp token in DER format]' \
'-token_in[the parameter to -in is a time stamp token in DER format]' \
'-out[name of the output file to which the response will be written]:file:_files' \
'-token_out[output a time stamp token instead of a time stamp response]' \
'-text[output in human-readable format instead of DER]' \
@ -1384,8 +1384,8 @@ _openssl_ts() {
'(-data -queryfile)-digest[verify the response against the specified message digest]:digest bytes: ' \
'(-data -digest)-queryfile[the original time stamp request in DER format]:file:_files' \
'-in[time stamp response that needs to be verified in DER format]:file:_files' \
'-token_in[the paramter to -in is a time stamp token in DER format]' \
'-CApath[directory containing the trused CA certificates of the client]:directory:_files -/' \
'-token_in[the parameter to -in is a time stamp token in DER format]' \
'-CApath[directory containing the trusted CA certificates of the client]:directory:_files -/' \
'-CAFile[file containing a set of trusted self-signed CA certificates in PEM format]:file:_files' \
'-untrusted[set of additional untrusted certificates in PEM format which may be needed when building the certificate chain]:file:_files'
;;
@ -1550,7 +1550,7 @@ _list_ciphers() {
'EXPORT56[56 bit export encryption algorithms]' \
{eNULL,NULL}'[ciphers offering no encryption]' \
'aNULL[ciphers offering no authentication]' \
{kRSA,RSA}'[cipher suites rusing RSA key exchange]' \
{kRSA,RSA}'[cipher suites using RSA key exchange]' \
'kDHr[cipher suites using DH key agreement signed by CAs with RSA keys]' \
'kDHd[cipher suites using DH key agreement signed by CAs with DSS keys]' \
'kDH[cipher suites using DH key agreement]' \
@ -1591,7 +1591,7 @@ _list_ciphers() {
{SHA1,SHA}'[cipher suites using SHA1]' \
'SHA256[cipher suites using SHA256]' \
'SHA384[cipher suites using SHA284]' \
'aGOST[cipher suites using GOST R 34.10 for authenticaction]' \
'aGOST[cipher suites using GOST R 34.10 for authentication]' \
'aGOST01[cipher suites using GOST R 34.10-2001 authentication]' \
'aGOST94[cipher suites using GOST R 34.10-94 authentication]' \
'kGOST[cipher suites, using VKO 34.10 key exchange]' \

View File

@ -204,14 +204,14 @@ _psql () {
{-R+,--record-separator=}':record separator char:' \
{-s,--single-step}'[prompt before each query]' \
{-S,--single-line}'[newline sends query]' \
{-t,--tuples-only}'[dont display header/footer]' \
{-t,--tuples-only}'[don'\''t display header/footer]' \
{-T+,--table-attr=}':HTML table options:' \
-u'[prompt for username/password]' \
{-v+,--set=,--variable=}':set SQL variable:' \
{-x,--expanded}'[one column per line]' \
{-z,--field-separator-zero}'[set field separator for unaligned output to zero byte]' \
{-0,--record-separator-zero}'[set record separator for unaligned output to zero byte]' \
{-X,--no-psqlrc}'[dont read ~/.psqlrc]' \
{-X,--no-psqlrc}'[don'\''t read ~/.psqlrc]' \
':PostgreSQL database:_pgsql_databases' \
':PostgreSQL user:_pgsql_users'
}
@ -236,15 +236,15 @@ _pg_dump () {
{-n+,--schema=}':schema to dump:_pgsql_schemas' \
{-N+,--exclude-schema=}':schema to NOT dump:_pgsql_schemas' \
{-o,--oids}'[dump objects identifiers for every table]' \
{-O,--no-owner}'[dont recreate as same owner]' \
{-R,--no-reconnect}'[dont output connect]' \
{-O,--no-owner}'[don'\''t recreate as same owner]' \
{-R,--no-reconnect}'[don'\''t output connect]' \
{-s,--schema-only}'[no data, only schema]' \
{-S+,--superuser=}':superuser name:_pgsql_users' \
{-t+,--table=}':table to dump:_pgsql_tables' \
{-T+,--exclude-table=}':table to NOT dump:_pgsql_tables' \
{-v,--verbose}'[verbose mode]' \
{-V,--version}'[display client version]' \
{-x,--no-{acl,privileges}}'[dont dump ACLs]' \
{-x,--no-{acl,privileges}}'[don'\''t dump ACLs]' \
-X+':option:_values "option" use-set-session-authorization disable-triggers' \
{-Z+,--compress=}':compression level:_values "level" 9 8 7 6 5 4 3 2 1 0' \
':PostgreSQL database:_pgsql_databases' \
@ -328,12 +328,12 @@ _pg_dumpall () {
{-g,--globals-only}'[dump only global objects, no databases]' \
{-f+,--file=}':output file:_files' \
{-o,--oids}'[dump objects identifiers for every table]' \
{-O,--no-owner}'[dont recreate as same owner]' \
{-O,--no-owner}'[don'\''t recreate as same owner]' \
{-r,--roles-only}'[no databases or tablespaces, only roles]' \
{-s,--schema-only}'[no data, only schema]' \
{-S+,--superuser=}':superuser name:_pgsql_users' \
{-t,--tablespaces-only}'[no databases or roles, only tablespaces]' \
{-x,--no-privileges}'[dont dump ACLs]' \
{-x,--no-privileges}'[don'\''t dump ACLs]' \
--binary-upgrade'[for use by upgrade utilities only]' \
--column-inserts'[use INSERT with column names not COPY]' \
--disable-dollar-quoting'[disable dollar quoting, use SQL standard quoting]' \

View File

@ -36,8 +36,8 @@ _play() {
(dependencies|deps)
_arguments \
'1:: :_play_apps' \
'(--debug)--debug[Debug mode (even more informations logged than in verbose mode)]' \
'(--jpda)--jpda[Listen for JPDA connection. The process will suspended until a client is plugged to the JPDA port.]' \
'(--debug)--debug[Debug mode (even more information logged than in verbose mode)]' \
'(--jpda)--jpda[Listen for JPDA connection. The process will be suspended until a client is plugged to the JPDA port.]' \
'(--sync)--sync[Keep lib/ and modules/ directory synced. Delete unknown dependencies.]' \
'(--verbose)--verbose[Verbose Mode]' \
&& ret=0

View File

@ -135,7 +135,7 @@ logs_options=(
'--out[only shows standard output]'
'--lines[output the last N lines, instead of the last 15 by default]'
'--timestamp[add timestamps (default format YYYY-MM-DD-HH:mm:ss)]'
'--nostream[print logs without lauching the log stream]'
'--nostream[print logs without launching the log stream]'
'(-h --help)'{-h,--help}'[output usage information]'
$id_all_comp
)

View File

@ -130,7 +130,7 @@ _port() {
'maintainers:' 'maintainer:' 'categories:' 'category:' 'version:' 'revision:' 'license:')
select_options=(
'--summary:Display sumamry of selected options'
'--summary:Display summary of selected options'
'--list:List available versions for the group'
'--set:Select the given version for the group'
'--show:Show which version is currently selected for the group (default if none given)'

View File

@ -152,7 +152,7 @@ Y_opts=(
"-Ydump-classes+[Dump the generated bytecode to .class files (useful for reflective compilation that utilizes in-memory classloaders)]:output directory:_files -/"
"-Yeta-expand-keeps-star[Eta-expand varargs methods to T* rather than Seq[T]. This is a temporary option to ease transition.]"
"-Ygen-javap+[Generate a parallel output directory of .javap files]:output directory:_files -/"
"-Yinfer-argument-types[Infer types for arguments of overriden methods]"
"-Yinfer-argument-types[Infer types for arguments of overridden methods]"
"-Yinline[Perform inlining when possible]"
"-Yinline-handlers[Perform exception handler inlining when possible]"
"-Yinline-warnings[Emit inlining warnings (normally surpressed due to high volume)]"

View File

@ -28,7 +28,7 @@
# Description
# -----------
#
# Completion script for scrub an utility which iteratively writes patterns on files or disk devices to make retrieving the data more difficult. (http://linux.die.net/man/1/scrub).
# Completion script for scrub. A utility which iteratively writes patterns on files or disk devices to make retrieving the data more difficult. (http://linux.die.net/man/1/scrub).
#
# ------------------------------------------------------------------------------
# Authors

View File

@ -460,7 +460,7 @@ _setuppy_bdist_wininst() {
"--title=[title to display on the installer background instead of default]" \
"-t[title to display on the installer background instead of default]" \
"--skip-build[skip rebuilding everything (for testing/debugging)]" \
"--install-script=[basename of installation script to be run afterinstallation or before deinstallation]" \
"--install-script=[basename of installation script to be run after installation or before uninstallation]" \
"--pre-install-script=[Fully qualified filename of a script to be run before any files are installed. This script need not be in the distribution]" \
"--user-access-control=[specify Vista's UAC handling - 'none'/default=no handling, 'auto'=use UAC if target Python installed for all users, 'force'=always use UAC]" \
"*::setup.py commands:_setup.py"

View File

@ -222,7 +222,7 @@ case "$words[1]" in
'(-c|--noancestors)'{-c,--noancestors}'[do not include second-generation package ancestors in the scratch org]' \
'(-i|--clientid)'{-i,--clientid}'[connected app consumer key]' \
'(-s|--setdefaultusername)'{-s,--setdefaultusername}'[set the created org as the default username]' \
'(-a|--setalias)'{-a,--setalias}'[set an alias for for the created scratch org]' \
'(-a|--setalias)'{-a,--setalias}'[set an alias for the created scratch org]' \
'(-e|--env)'{-e,--env}'[environment where the scratch org is created: \[sandbox*,virtual,prototype\] (sandbox*,virtual,prototype)]' \
'(-w|--wait)'{-w,--wait}'[the streaming client socket timeout (in minutes) (default:6, min:2)]' \
'(-d|--durationdays)'{-d,--durationdays}'[duration of the scratch org (in days) (default:7, min:1, max:30)]' \
@ -742,7 +742,7 @@ case "$words[1]" in
force:data:tree:export)
_command_args=(
'(-q|--query)'{-q,--query}'[soql query, or filepath of file containing a soql query, to retrieve records]:file:_files' \
'(-p|--plan)'{-p,--plan}'[generate mulitple sobject tree files and a plan definition file for aggregated import]' \
'(-p|--plan)'{-p,--plan}'[generate multiple sObject tree files and a plan definition file for aggregated import]' \
'(-x|--prefix)'{-x,--prefix}'[prefix of generated files]' \
'(-d|--outputdir)'{-d,--outputdir}'[directory to store files]:file:_files' \
'(-u|--targetusername)'{-u,--targetusername}'[username or alias for the target org; overrides default target org]' \

View File

@ -67,20 +67,20 @@ case $state in
'(-n --name)'{-n,--name}'=[Slide name (name of the new slide file)]:basename' \
{-s,--source}'=[Include code from the given file as the slide body]:file:_files' \
'(-t --style --type)'{-t,--style,--type}'=[Slide Type/Style (default: title)]:style' \
'(-u --no-number)'{-u,--no-number}'[Dont number the slide, use the given name verbatim]' \
'(-u --no-number)'{-u,--no-number}'[Don'\''t number the slide, use the given name verbatim]' \
'1:title' && ret=0
;;
(create|init)
_arguments \
'(-d --slidedir)'{-d,--slidedir}'=[Sample slide directory name (default: one)]:arg' \
'(-n --nosamples)'{-n,--nosamples}'=[Dont create sample slides]' \
'(-n --nosamples)'{-n,--nosamples}'=[Don'\''t create sample slides]' \
'1:dir_name' && ret=0
;;
help)
_values 'commands' add new create init help heroku serve static && ret=0
;;
heroku)
_message 'please entrer an heroku_name' && ret=0
_message 'please enter an heroku_name' && ret=0
;;
serve)
_arguments \
@ -89,7 +89,7 @@ case $state in
'1:title' && ret=0
;;
static)
_message 'please entrer a name' && ret=0
_message 'please enter a name' && ret=0
;;
*)
(( ret )) && _message 'no more arguments'

View File

@ -44,8 +44,8 @@
# -----
#
# udisksctl actually provide built-in support for completion: It accepts an
# special command 'complete' that returns completeions. That is what drives the
# upstream bash completion. In the future one might condsider rewriting using
# special command 'complete' that returns completions. That is what drives the
# upstream bash completion. In the future one might consider rewriting using
# that. (but not sure how straight forward it would be to provide descriptions?)
#

View File

@ -47,7 +47,7 @@ _arguments -C : \
'--cleartop[remove all top 10 entries]' \
'--config[specify alternate configuration file]:file:_files' \
"($period)"{-d,--days}'[show traffic for days]' \
"($period)"{-h,--hours}'[show trafic for last 24 hours]' \
"($period)"{-h,--hours}'[show traffic for last 24 hours]' \
"($period)"{-m,--months}'[show traffic for months]' \
"($period)"{-w,--weeks}'[show traffic for 7 days]' \
'--dbdir[specify database directory]:directory:_files -/' \
@ -64,7 +64,7 @@ _arguments -C : \
'--oneline[traffic summary in one-line, parseable format]' \
'(-q --query)'{-q,--query}'[force database query mode]' \
'(-r --reset)'{-r,--reset}'[reset internal counters]' \
'--rebuildtotal[reset total trafic counters]' \
'--rebuildtotal[reset total traffic counters]' \
'(-ru --rateunit)'{-ru,--rateunit}'[swap configured rate unit]' \
'--savemerged[write result of database merge]' \
'(-s --short)'{-s,--short}'[use short output mode]' \

View File

@ -40,7 +40,7 @@ _commands=(
'access'
'autoclean:Clean and remove unnecessary files from package dependencies'
'cache:List or clean every cached package'
"check:Verify package dependencies agains yarn's lock file"
"check:Verify package dependencies against yarn's lock file"
'config:Manages the yarn configuration files'
'generate-lock-entry:Generates a lock file entry'
'global:Install packages globally on your operating system'

View File

@ -137,7 +137,7 @@ topics=('e:description for e help topic' 'f:description for f help topic')
_describe 'command' subcmds -- topics
#+END_SRC
If two candidates have the same description, _describe collects them together on the same row and ensures that descriptions are aligned in neatedly in columns.
If two candidates have the same description, _describe collects them together on the same row and ensures that descriptions are aligned in neatly in columns.
The _describe function can be used in an ACTION as part of a specification for _alternative, _arguments or _regex_arguments.
In this case you will have to put it in braces with its arguments, e.g. 'TAG:DESCRIPTION:{_describe 'values' options}'
** Writing completion functions using _alternative