Fix yarn completion

- fix typo
- fix exclusive option syntax
This commit is contained in:
Shohei YOSHIDA 2026-03-08 21:36:23 +09:00
parent 14d065df4f
commit d255543a98
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ _yarn_subcommands() {
'search:open the search interface' 'search:open the search interface'
'upgrade-interactive:open the upgrade interface' 'upgrade-interactive:open the upgrade interface'
'plugin:plugin related commands' 'plugin:plugin related commands'
'version:version relarelated commands' 'version:version related commands'
'workspace:workspace related commands' 'workspace:workspace related commands'
'workspaces:command for workspaces' 'workspaces:command for workspaces'
) )
@ -798,7 +798,7 @@ _yarn_workspaces() {
_arguments \ _arguments \
'(- *)'{-h,--help}'[show help message and exit]' \ '(- *)'{-h,--help}'[show help message and exit]' \
'--since[only include workspaces that have been changed since the specified ref]' \ '--since[only include workspaces that have been changed since the specified ref]' \
'(-R,--recursive)'{-R,--recursive}'[find packages via dependencies/devDependencies]' \ '(-R --recursive)'{-R,--recursive}'[find packages via dependencies/devDependencies]' \
'--no-private[exclude workspaces that have the private field set to true]' \ '--no-private[exclude workspaces that have the private field set to true]' \
'(-v --verbose)'{-v,--verbose}'[also return the cross-dependencies between workspaces]' \ '(-v --verbose)'{-v,--verbose}'[also return the cross-dependencies between workspaces]' \
'--json[format the output as an NDJSON stream]' \ '--json[format the output as an NDJSON stream]' \