Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos #1116

Merged
merged 1 commit into from
Dec 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/_bundle
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ case $state in
'--gemfile=-[use the specified gemfile instead of Gemfile]:gemfile:_files' \
"--no-install[don't install the gems, only update the cache]" \
"--no-prune[don't remove stale gems from the cache]" \
'--path=-[specify a different path than the system default($BUNDLE_PATH or $GAM_HOME)]: :_files' \
'--path=-[specify a different path than the system default($BUNDLE_PATH or $GEM_HOME)]: :_files' \
'--quite[only output warnings and errors]' \
'--frozen[do not allow the Gemfile.lock to be updated after this bundle cache operation]' \
'--no-color[disable colorization in output]' \
Expand Down
2 changes: 1 addition & 1 deletion src/_concourse
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ _concourse_web_args() {
'--credhub-client-secret=[client secret for CredHub authorization]:client secret' \
'--kubernetes-in-cluster[enables the in-cluster client]' \
'--kubernetes-config-path=[path to Kubernetes config when running ATC outside Kubernetes]: :_files' \
'--kubernetes-namespace-prefix=[prefix to use for Kubernetes namespaces under which secrets will be looked up]:prefex' \
'--kubernetes-namespace-prefix=[prefix to use for Kubernetes namespaces under which secrets will be looked up]:prefix' \
'--aws-secretsmanager-access-key=[AWS Access key ID]:access key' \
'--aws-secretsmanager-secret-key=[AWS Secret Access Key]:secret key' \
'--aws-secretsmanager-session-token=[AWS Session Token]:session token' \
Expand Down
2 changes: 1 addition & 1 deletion src/_cppcheck
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ _cppcheck() {
"--config-exclude=[Path to be excluded from configuration checking]:directory:_files -/" \
"--config-exclude-files=[A file that contains a list of config-excludes]:file:_files" \
"--doc[Print a list of all available checks]" \
"*--disable=[Disable indivisual checks]:id:$check_ids" \
"*--disable=[Disable individual checks]:id:$check_ids" \
"--dump[Dump xml data for each translation unit]" \
"-D[Define preprocessor symbol]" \
"-U[Undefine preprocessor symbol]" \
Expand Down
4 changes: 2 additions & 2 deletions src/_flutter
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ _flutter_build() {
(aar)
opts+=(
'--target-platform=[The target platform for which the project is compiled]: :(android-arm android-arm64 android-x86 android-x64)'
\*{-P,--android-project-arg}'[Additioanl arguments specified as key=value that are passed to gradle -P option]:arg'
\*{-P,--android-project-arg}'[Additional arguments specified as key=value that are passed to gradle -P option]:arg'
)
;;
(apk|appbundle)
Expand All @@ -586,7 +586,7 @@ _flutter_build() {
'(--no-analyze-size)--analyze-size[Produce additional profile information for artifact output size]'
'(--analyze-size)--no-analyze-size[Not produce additional profile information for artifact output size]'
'--code-size-directory=[The location to write code size analysis files]: :_files -/'
\*{-P,--android-project-arg}'[Additioanl arguments specified as key=value that are passed to gradle -P option]:arg'
\*{-P,--android-project-arg}'[Additional arguments specified as key=value that are passed to gradle -P option]:arg'
'--no-multidex[the app is not built with multidex support]'
'--ignore-deprecation[the app should ignore deprecation warnings and continue to build using deprecated APIs]'
'--split-per-abi[Split the APKs per ABIs]'
Expand Down
4 changes: 2 additions & 2 deletions src/_node
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ _arguments -C \
'--jitless[Disable runtime allocation of executable memory]' \
'--localstorage-file=[file used to persist localStorage data]:file:_files' \
'--max-http-header-size=[set the maximum size of HTTP headers]: :number' \
'--network-family-autoselection-attempt-timeout=[sets the default value for the network family autoselection attemp timeout]:timeout' \
'--network-family-autoselection-attempt-timeout=[sets the default value for the network family autoselection attempt timeout]:timeout' \
'--no-addons[disable loading native addons]' \
'--no-deprecation[silence deprecation warnings]' \
'--no-experimental-detect-module[when ambigous modules fail to evaluate, try again to evaluate them as ES modules]' \
'--no-experimental-detect-module[when ambiguous modules fail to evaluate, try again to evaluate them as ES modules]' \
'--no-experimental-global-navigator[expose experimental Navigator API on the global scope]' \
'--no-experimental-repl-await[disable experimental await keyword support in REPL]' \
'--no-experimental-require-module[allow loading synchronous ES Modules in require()]' \
Expand Down
4 changes: 2 additions & 2 deletions src/_rails
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,10 @@ _rails_generate() {
;|
(controller|job|model|resource|scaffold)
opts+=(
'--parent=[The parent class for the generated controler]:parent class'
'--parent=[The parent class for the generated controller]:parent class'
)
;|
(controler|mailer|resource|scaffold|scaffold_controller)
(controller|mailer|resource|scaffold|scaffold_controller)
opts+=(
'(-e --template-engine)'{-e,--template-engine=}'[Template engine to be invoked]:engine:(erb)'
)
Expand Down
2 changes: 1 addition & 1 deletion src/_redis-cli
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ local -a redis_commands=(
'append:append a value to a key'
'auth:authenticate to the server'
'bgrewriteeaof:asynchronously rewrite the append-only file'
'bgsave:asynchornously save the dataset to disk'
'bgsave:asynchronously save the dataset to disk'
'blpop:remove and get the first element in a list, or block until one is available'
'brpop:remove and get the last element in a list, or block until one is available'
'brpoplpush:pop a value from a list, push it to another list and return it; or block until one is available'
Expand Down
4 changes: 2 additions & 2 deletions src/_sfdx
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ case "$words[1]" in
;;
force:package2:version:get)
_command_args=(
'(-i|--package2versionid)'{-i,--package2versionid}'[the package version ID (starts wtih 05i)]' \
'(-i|--package2versionid)'{-i,--package2versionid}'[the package version ID (starts with 05i)]' \
'(-v|--targetdevhubusername)'{-v,--targetdevhubusername}'[username or alias for the dev hub org; overrides default dev hub org]' \
'(--json)--json[format output as json]' \
'(--loglevel)--loglevel[logging level for this command invocation (error*,trace,debug,info,warn,fatal)]' \
Expand Down Expand Up @@ -904,7 +904,7 @@ case "$words[1]" in
;;
force:package2:version:update)
_command_args=(
'(-i|--package2versionid)'{-i,--package2versionid}'[the package version ID (starts wtih 05i)]' \
'(-i|--package2versionid)'{-i,--package2versionid}'[the package version ID (starts with 05i)]' \
'(-n|--name)'{-n,--name}'[the package version name]' \
'(-d|--description)'{-d,--description}'[the package version description]' \
'(-b|--branch)'{-b,--branch}'[the package version branch]' \
Expand Down
2 changes: 1 addition & 1 deletion src/_supervisorctl
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ _supervisorctl_running_procs() {
_supervisorctl_collect_procs 'RUNNING'
}

(( $+functions[_supervisorctl_stoped_procs] )) ||
(( $+functions[_supervisorctl_stopped_procs] )) ||
_supervisorctl_stopped_procs() {
_supervisorctl_collect_procs 'STOPPED'
}
Expand Down
4 changes: 2 additions & 2 deletions src/_virtualbox
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ _vboxmanage() {
'--ostype=[Specifies the guest OS to run in the VM]: :_vboxostypes' \
'--register[Registers the VM with your Oracle VM VirtualBox installation]' \
'--uuid=[Specifies the Universally Unique Identifier(UUID) of the VM]:uuid' \
'--ciper=[Specifies the cipher to use for encryption]: :(AES-128 AES-256)' \
'--cipher=[Specifies the cipher to use for encryption]: :(AES-128 AES-256)' \
'--password-id=[Specifies a new password identifier]:password_id' \
'--password=[Use the --password to supply the encryption password of the VM]: :_files' \
&& ret=0
Expand Down Expand Up @@ -287,7 +287,7 @@ _vboxmanage() {
;;
(setproperty)
_arguments \
'1: :(autostartdbpath defaultfrontend hwvirtexclusive launguage logginglevel loghistorycount machinefolder proxymode proxyurl vrdeauthlibrary vrdeextpack websrvauthlibrary)' \
'1: :(autostartdbpath defaultfrontend hwvirtexclusive language logginglevel loghistorycount machinefolder proxymode proxyurl vrdeauthlibrary vrdeextpack websrvauthlibrary)' \
'2:value:_vboxmanage_setproperty_value' \
&& ret=0
;;
Expand Down