Skip to content

Commit 50e0426

Browse files
authored
Specify scope options in same format as other arguments that have a list.
1 parent 33c4c58 commit 50e0426

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

src/DB_Command.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,16 @@ public function import( $args, $assoc_args ) {
957957
* : List tables based on wildcard search, e.g. 'wp_*_options' or 'wp_post?'.
958958
*
959959
* [--scope=<scope>]
960-
* : Can be all, global, ms_global, blog, or old tables. Defaults to all.
960+
* : List tables based on the scope.
961+
* ---
962+
* default: all
963+
* options:
964+
* - all - returns 'all' and 'global' tables. No old tables are returned.
965+
* - blog - returns the blog-level tables for the queried blog.
966+
* - global - returns the global tables for the installation, returning multisite tables only on multisite.
967+
* - ms_global - returns the multisite global tables, regardless if current installation is multisite.
968+
* - old - returns tables which are deprecated.
969+
* ---
961970
*
962971
* [--network]
963972
* : List all the tables in a multisite install.

0 commit comments

Comments
 (0)