Skip to content

Commit 879fcf5

Browse files
authored
Merge pull request #217 from wp-cli/regenerate-readme
2 parents b2b5700 + 87aed97 commit 879fcf5

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,14 +248,20 @@ These fields are optionally available:
248248

249249
### wp package update
250250

251-
Updates all installed WP-CLI packages to their latest version.
251+
Updates installed WP-CLI packages to their latest version.
252252

253253
~~~
254-
wp package update
254+
wp package update [<package-name>...]
255255
~~~
256256

257+
**OPTIONS**
258+
259+
[<package-name>...]
260+
One or more package names to update. If not specified, all packages will be updated.
261+
257262
**EXAMPLES**
258263

264+
# Update all packages.
259265
$ wp package update
260266
Using Composer to update packages...
261267
---
@@ -270,6 +276,17 @@ wp package update
270276
---
271277
Success: Packages updated.
272278

279+
# Update a specific package.
280+
$ wp package update wp-cli/server-command
281+
Using Composer to update packages...
282+
---
283+
Loading composer repositories with package information
284+
Updating dependencies
285+
Writing lock file
286+
Generating autoload files
287+
---
288+
Success: Package updated successfully.
289+
273290

274291

275292
### wp package uninstall

0 commit comments

Comments
 (0)