Skip to content

Commit 9cf5885

Browse files
committed
Update --workspace and --workspaces description to match default --root.
1 parent 11d35c0 commit 9cf5885

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,11 +375,11 @@ Options that take no arguments can be negated by prefixing them with `--no-`, e.
375375
</tr>
376376
<tr>
377377
<td>-w, --workspace &lt;s&gt;</td>
378-
<td>Run on one or more specified workspaces. Add <code>--root</code> to also upgrade the root project. (default: [])</td>
378+
<td>Run on one or more specified workspaces. Add <code>--no-root</code> to exclude the root project. (default: [])</td>
379379
</tr>
380380
<tr>
381381
<td>-ws, --workspaces</td>
382-
<td>Run on all workspaces. Add <code>--root</code> to also upgrade the root project.</td>
382+
<td>Run on all workspaces. Add <code>--no-root</code> to exclude the root project.</td>
383383
</tr>
384384
</table>
385385

src/cli-options.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,13 +957,13 @@ const cliOptions: CLIOption[] = [
957957
arg: 's',
958958
parse: (value, accum) => [...accum, value],
959959
default: [],
960-
description: 'Run on one or more specified workspaces. Add `--root` to also upgrade the root project.',
960+
description: 'Run on one or more specified workspaces. Add `--no-root` to exclude the root project.',
961961
type: 'readonly string[]',
962962
},
963963
{
964964
long: 'workspaces',
965965
short: 'ws',
966-
description: 'Run on all workspaces. Add `--root` to also upgrade the root project.',
966+
description: 'Run on all workspaces. Add `--no-root` to exclude the root project.',
967967
type: 'boolean',
968968
},
969969
{

src/types/RunOptions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,14 +489,14 @@
489489
"type": "boolean"
490490
},
491491
"workspace": {
492-
"description": "Run on one or more specified workspaces. Add `--root` to also upgrade the root project.",
492+
"description": "Run on one or more specified workspaces. Add `--no-root` to exclude the root project.",
493493
"items": {
494494
"type": "string"
495495
},
496496
"type": "array"
497497
},
498498
"workspaces": {
499-
"description": "Run on all workspaces. Add `--root` to also upgrade the root project.",
499+
"description": "Run on all workspaces. Add `--no-root` to exclude the root project.",
500500
"type": "boolean"
501501
}
502502
},

src/types/RunOptions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ export interface RunOptions {
190190
/** Log additional information for debugging. Alias for `--loglevel` verbose. */
191191
verbose?: boolean
192192

193-
/** Run on one or more specified workspaces. Add `--root` to also upgrade the root project. */
193+
/** Run on one or more specified workspaces. Add `--no-root` to exclude the root project. */
194194
workspace?: readonly string[]
195195

196-
/** Run on all workspaces. Add `--root` to also upgrade the root project. */
196+
/** Run on all workspaces. Add `--no-root` to exclude the root project. */
197197
workspaces?: boolean
198198
}

0 commit comments

Comments
 (0)