From bdba21c0100bfaba477f3c66995a26ba6106081f Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Fri, 10 Nov 2023 15:43:27 -0800 Subject: [PATCH] Regenerate README --- README.md | 5 ++++- src/Core_Command.php | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ead932b4..0f11f51d 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ wp core Checks for WordPress updates via Version Check API. ~~~ -wp core check-update [--minor] [--major] [--field=] [--fields=] [--format=] +wp core check-update [--minor] [--major] [--force-check] [--field=] [--fields=] [--format=] ~~~ Lists the most recent versions when there are updates available, @@ -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=] Prints the value of a single field for each update. diff --git a/src/Core_Command.php b/src/Core_Command.php index 831229c8..bfe2610a 100644 --- a/src/Core_Command.php +++ b/src/Core_Command.php @@ -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=] * : Prints the value of a single field for each update. * @@ -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