Skip to content

Commit

Permalink
docs: remove =true from --next
Browse files Browse the repository at this point in the history
`=true` us redundant

(cherry picked from commit 5f930c9)
  • Loading branch information
alan-agius4 committed Oct 21, 2020
1 parent 8d29d87 commit c63132c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions packages/angular/cli/commands/update-long.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,19 @@ Perform a basic update to the current stable release of the core framework and C
ng update @angular/cli @angular/core
```

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

To update from one major version to another, use the format
`ng update @angular/cli@^<major_version> @angular/core@^<major_version>`.

```
ng update @angular/cli@^<major_version> @angular/core@^<major_version>
```

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

`ng update @angular/cli@^9 @angular/core@^9`
```
ng update @angular/cli@^10 @angular/core@^10
```

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

0 comments on commit c63132c

Please sign in to comment.