Skip to content

Commit

Permalink
Regenerate README file - 2022-09-29 (#228)
Browse files Browse the repository at this point in the history
Co-authored-by: Alain Schlesser <alain.schlesser@gmail.com>
  • Loading branch information
github-actions[bot] and schlessera authored Sep 29, 2022
1 parent 8965e56 commit 176c561
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<format>] [--tables] [--human-readable] [--format=<format>] [--scope=<scope>] [--network] [--decimals=<decimals>] [--all-tables-with-prefix] [--all-tables]
wp db size [--size_format=<format>] [--tables] [--human-readable] [--format=<format>] [--scope=<scope>] [--network] [--decimals=<decimals>] [--all-tables-with-prefix] [--all-tables] [--order=<order>] [--orderby=<orderby>]
~~~

Display the database name and size for `DB_NAME` specified in wp-config.php.
Expand Down Expand Up @@ -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=<order>]
Ascending or Descending order.
---
default: asc
options:
- asc
- desc
---

[--orderby=<orderby>]
Order by fields.
---
default: name
options:
- name
- size
---

**EXAMPLES**

$ wp db size
Expand Down

0 comments on commit 176c561

Please sign in to comment.