Skip to content

Commit

Permalink
fix: display --include-workspace-root option on recursive command's h…
Browse files Browse the repository at this point in the history
…elp info (#5880)

close #5130
  • Loading branch information
await-ovo committed Jan 4, 2023
1 parent 640f466 commit 5b311d1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/giant-cups-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"pnpm": patch
---

Should display `--include-workspace-root` option on recursive command's help info.
6 changes: 5 additions & 1 deletion pnpm/src/cmd/recursive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ and must recompile all your C++ addons with the new binary.',

list: [
{
description: 'Continues executing other tasks even if a task threw an error.',
description: 'Continues executing other tasks even if a task threw an error',
name: '--no-bail',
},
{
Expand All @@ -102,6 +102,10 @@ Convenient to use in a multi-package repository.',
A shared lockfile also means that all dependencies of all projects will be in a single node_modules.`,
name: '--shared-workspace-lockfile',
},
{
description: 'When executing commands recursively in a workspace, execute them on the root workspace project as well',
name: '--include-workspace-root',
},
],
},
FILTERING,
Expand Down

0 comments on commit 5b311d1

Please sign in to comment.