From 386751b2778abd685ef01357d54aa9e512d3931b Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Thu, 29 Sep 2022 16:36:18 +0000 Subject: [PATCH] Regenerate README file - 2022-09-29 --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2d275566..c2f3c36f 100644 --- a/README.md +++ b/README.md @@ -721,7 +721,7 @@ Defaults to all tables registered to the $wpdb database handler. Displays the database name and size. ~~~ -wp db size [--size_format=] [--tables] [--human-readable] [--format=] [--scope=] [--network] [--decimals=] [--all-tables-with-prefix] [--all-tables] +wp db size [--size_format=] [--tables] [--human-readable] [--format=] [--scope=] [--network] [--decimals=] [--all-tables-with-prefix] [--all-tables] [--order=] [--orderby=] ~~~ Display the database name and size for `DB_NAME` specified in wp-config.php. @@ -796,6 +796,24 @@ Available size formats include: [--all-tables] List all tables in the database, regardless of the prefix, and even if not registered on $wpdb. Overrides --all-tables-with-prefix. + [--order=] + Ascending or Descending order. + --- + default: asc + options: + - asc + - desc + --- + + [--orderby=] + Order by fields. + --- + default: name + options: + - name + - size + --- + **EXAMPLES** $ wp db size