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