Skip to content

Commit 392f5b8

Browse files
authored
Specify scope options in same format as other arguments that have a list (#321)
1 parent 33c4c58 commit 392f5b8

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

src/DB_Command.php

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,22 @@ 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+
* - all: returns 'all' and 'global' tables. No old tables are returned.
963+
* - blog: returns the blog-level tables for the queried blog.
964+
* - global: returns the global tables for the installation, returning multisite tables only on multisite.
965+
* - ms_global: returns the multisite global tables, regardless if current installation is multisite.
966+
* - old: returns tables which are deprecated.
967+
* ---
968+
* default: all
969+
* options:
970+
* - all
971+
* - blog
972+
* - global
973+
* - ms_global
974+
* - old
975+
* ---
961976
*
962977
* [--network]
963978
* : List all the tables in a multisite install.

0 commit comments

Comments
 (0)