File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed
Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments