Skip to content

Commit 176c561

Browse files
Regenerate README file - 2022-09-29 (#228)
Co-authored-by: Alain Schlesser <[email protected]>
1 parent 8965e56 commit 176c561

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

+19-1
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ Defaults to all tables registered to the $wpdb database handler.
721721
Displays 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

727727
Display 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

0 commit comments

Comments
 (0)