Fix yarn completion
- fix typo - fix exclusive option syntax
This commit is contained in:
parent
14d065df4f
commit
d255543a98
|
|
@ -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]' \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue