Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Regenerate README
  • Loading branch information
danielbachhuber committed Nov 10, 2023
commit bdba21c0100bfaba477f3c66995a26ba6106081f
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ wp core
Checks for WordPress updates via Version Check API.

~~~
wp core check-update [--minor] [--major] [--field=<field>] [--fields=<fields>] [--format=<format>]
wp core check-update [--minor] [--major] [--force-check] [--field=<field>] [--fields=<fields>] [--format=<format>]
~~~

Lists the most recent versions when there are updates available,
Expand All @@ -56,6 +56,9 @@ or success message when up to date.
[--major]
Compare only the first part of the version number.

[--force-check]
Forces check even if WordPress is up to date.

[--field=<field>]
Prints the value of a single field for each update.

Expand Down
6 changes: 3 additions & 3 deletions src/Core_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ class Core_Command extends WP_CLI_Command {
* [--major]
* : Compare only the first part of the version number.
*
* [--force-check]
* : Forces check even if WordPress is up to date.
*
* [--field=<field>]
* : Prints the value of a single field for each update.
*
Expand All @@ -62,9 +65,6 @@ class Core_Command extends WP_CLI_Command {
* - yaml
* ---
*
* [--force-check]
* : Forces check even if WordPress is up to date.
*
* ## EXAMPLES
*
* $ wp core check-update
Expand Down