File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -721,7 +721,7 @@ Defaults to all tables registered to the $wpdb database handler.
721721Displays the database name and size.
722722
723723~~~
724- wp db size [--size_format=<format>] [--tables] [--human-readable] [--format=<format>] [--scope=<scope>] [--network] [--decimals=<decimals>] [--all-tables-with-prefix] [--all-tables]
724+ 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>]
725725~~~
726726
727727Display the database name and size for ` DB_NAME ` specified in wp-config.php.
@@ -796,6 +796,24 @@ Available size formats include:
796796 [--all-tables]
797797 List all tables in the database, regardless of the prefix, and even if not registered on $wpdb. Overrides --all-tables-with-prefix.
798798
799+ [--order=<order>]
800+ Ascending or Descending order.
801+ ---
802+ default: asc
803+ options:
804+ - asc
805+ - desc
806+ ---
807+
808+ [--orderby=<orderby>]
809+ Order by fields.
810+ ---
811+ default: name
812+ options:
813+ - name
814+ - size
815+ ---
816+
799817** EXAMPLES**
800818
801819 $ wp db size
You can’t perform that action at this time.
0 commit comments