Skip to content

Commit

Permalink
Fix --root option description.
Browse files Browse the repository at this point in the history
  • Loading branch information
raineorshine committed Nov 22, 2023
1 parent 2109365 commit f8bbd58
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ Options that take no arguments can be negated by prefixing them with `--no-`, e.
</tr>
<tr>
<td>--root</td>
<td>Runs updates on the root project in addition to specified workspaces. Only allowed with <code>--workspace</code> or <code>--workspaces</code>. (default: true) (default: true)</td>
<td>Runs updates on the root project in addition to specified workspaces. Only allowed with <code>--workspace</code> or <code>--workspaces</code>. (default: true)</td>
</tr>
<tr>
<td>-s, --silent</td>
Expand Down
2 changes: 1 addition & 1 deletion src/cli-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ const cliOptions: CLIOption[] = [
long: 'root',
default: true,
description:
'Runs updates on the root project in addition to specified workspaces. Only allowed with `--workspace` or `--workspaces`. (default: true)',
'Runs updates on the root project in addition to specified workspaces. Only allowed with `--workspace` or `--workspaces`.',
type: 'boolean',
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/types/RunOptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@
},
"root": {
"default": true,
"description": "Runs updates on the root project in addition to specified workspaces. Only allowed with `--workspace` or `--workspaces`. (default: true)",
"description": "Runs updates on the root project in addition to specified workspaces. Only allowed with `--workspace` or `--workspaces`.",
"type": "boolean"
},
"silent": {
Expand Down
2 changes: 1 addition & 1 deletion src/types/RunOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export interface RunOptions {
*/
retry?: number

/** Runs updates on the root project in addition to specified workspaces. Only allowed with `--workspace` or `--workspaces`. (default: true)
/** Runs updates on the root project in addition to specified workspaces. Only allowed with `--workspace` or `--workspaces`.
*
* @default true
*/
Expand Down

0 comments on commit f8bbd58

Please sign in to comment.