Skip to content

Commit c63132c

Browse files
committed
docs: remove =true from --next
`=true` us redundant (cherry picked from commit 5f930c9)
1 parent 8d29d87 commit c63132c

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

packages/angular/cli/commands/update-long.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,19 @@ Perform a basic update to the current stable release of the core framework and C
44
ng update @angular/cli @angular/core
55
```
66

7-
To update to the next beta or pre-release version, use the `--next=true` option.
7+
To update to the next beta or pre-release version, use the `--next` option.
88

99
To update from one major version to another, use the format
10-
`ng update @angular/cli@^<major_version> @angular/core@^<major_version>`.
10+
11+
```
12+
ng update @angular/cli@^<major_version> @angular/core@^<major_version>
13+
```
1114

1215
We recommend that you always update to the latest patch version, as it contains fixes we released since the initial major release.
13-
For example, use the following command to take the latest 9.x.x version and use that to update.
16+
For example, use the following command to take the latest 10.x.x version and use that to update.
1417

15-
`ng update @angular/cli@^9 @angular/core@^9`
18+
```
19+
ng update @angular/cli@^10 @angular/core@^10
20+
```
1621

1722
For detailed information and guidance on updating your application, see the interactive [Angular Update Guide](https://update.angular.io/).

0 commit comments

Comments
 (0)