Skip to content

Commit 80163ce

Browse files
alan-agius4Keen Yee Liau
authored and
Keen Yee Liau
committed
fix(@angular/cli): ng update --help shows --packages twice (#12470)
* refactor: add a better `description` for `packages` * fix(@angular/cli): `ng update --help` shows `--packages` twice Closes #12468
1 parent 5adebf9 commit 80163ce

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

packages/angular/cli/commands/update.json

-16
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,6 @@
1111

1212
"type": "object",
1313
"allOf": [
14-
{
15-
"properties": {
16-
"packages": {
17-
"type": "array",
18-
"items": {
19-
"type": "string"
20-
},
21-
"description": "The names of package(s) to update",
22-
"$default": {
23-
"$source": "argv"
24-
}
25-
}
26-
},
27-
"required": [
28-
]
29-
},
3014
{
3115
"$ref": "./definitions.json#/definitions/base"
3216
}

packages/schematics/update/update/schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "object",
66
"properties": {
77
"packages": {
8-
"description": "The packages to get.",
8+
"description": "The names of package(s) to update.",
99
"type": "array",
1010
"items": {
1111
"type": "string"

0 commit comments

Comments
 (0)