From 700734406d987dd50496f3a3dfefb9d801530114 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 24 Nov 2026 10:54:18 +0000 Subject: [PATCH] Regenerate README file --- README.md | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 899e6a34..2e39e6d2 100644 --- a/README.md +++ b/README.md @@ -826,17 +826,12 @@ Defaults to all tables registered to the $wpdb database handler. Displays the database name and size. ~~~ -wp db size [--size_format=] [--tables] [--human-readable] [--fields=] [--format=] [--scope=] [--network] [--decimals=] [--all-tables-with-prefix] [--all-tables] [--order=] [--orderby=] +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. The size defaults to a human-readable number. -The reported size is the sum of the data and the index size. Both can be -displayed separately by adding them to `--fields`. For SQLite, the database -size is the size of the database file, which also includes overhead such as -free pages. - Available size formats include: * b (bytes) * kb (kilobytes) @@ -881,9 +876,6 @@ Available size formats include: [--human-readable] Display database sizes in human readable formats. - [--fields=] - Get a specific subset of the fields. - [--format=] Render output in a particular format. --- @@ -901,7 +893,7 @@ Available size formats include: List all the tables in a multisite install. [--decimals=] - Number of digits after decimal point. Defaults to 0, or 2 when using --human-readable. + Number of digits after decimal point. Defaults to 0. [--all-tables-with-prefix] List all tables that match the table prefix even if not registered on $wpdb. Overrides --network. @@ -927,18 +919,6 @@ Available size formats include: - size --- -**AVAILABLE FIELDS** - -These fields will be displayed by default: - -* Name -* Size - -These fields are optionally available: - -* Data -* Index - **EXAMPLES** $ wp db size @@ -966,13 +946,6 @@ These fields are optionally available: | wp_commentmeta | 48 KB | +-----------------------+-------+ - $ wp db size --fields=Name,Data,Index,Size --human-readable - +-------------------+---------+--------+---------+ - | Name | Data | Index | Size | - +-------------------+---------+--------+---------+ - | wordpress_default | 3.43 GB | 2.8 GB | 6.23 GB | - +-------------------+---------+--------+---------+ - $ wp db size --size_format=b 5865472