From d255543a98fd019e83917b6bd044bb8114a5d6d0 Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Sun, 8 Mar 2026 21:36:23 +0900 Subject: [PATCH] Fix yarn completion - fix typo - fix exclusive option syntax --- src/_yarn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_yarn b/src/_yarn index 0e5dd4c..12b8187 100644 --- a/src/_yarn +++ b/src/_yarn @@ -320,7 +320,7 @@ _yarn_subcommands() { 'search:open the search interface' 'upgrade-interactive:open the upgrade interface' 'plugin:plugin related commands' - 'version:version relarelated commands' + 'version:version related commands' 'workspace:workspace related commands' 'workspaces:command for workspaces' ) @@ -798,7 +798,7 @@ _yarn_workspaces() { _arguments \ '(- *)'{-h,--help}'[show help message and exit]' \ '--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]' \ '(-v --verbose)'{-v,--verbose}'[also return the cross-dependencies between workspaces]' \ '--json[format the output as an NDJSON stream]' \