File tree 1 file changed +19
-1
lines changed
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.
721
721
Displays the database name and size.
722
722
723
723
~~~
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>]
725
725
~~~
726
726
727
727
Display the database name and size for ` DB_NAME ` specified in wp-config.php.
@@ -796,6 +796,24 @@ Available size formats include:
796
796
[--all-tables]
797
797
List all tables in the database, regardless of the prefix, and even if not registered on $wpdb. Overrides --all-tables-with-prefix.
798
798
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
+
799
817
** EXAMPLES**
800
818
801
819
$ wp db size
You can’t perform that action at this time.
0 commit comments