Skip to content

Commit

Permalink
Regenerate README
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbachhuber committed Nov 10, 2023
1 parent f30fe54 commit bdba21c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
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

0 comments on commit bdba21c

Please sign in to comment.