diff --git a/README.md b/README.md index c9b00bc5..dc609de1 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ change primary key values. $ wp search-replace '\[foo id="([0-9]+)"' '[bar id="\1"' --regex --regex-flags='i' # Turn your production multisite database into a local dev database - $ wp search-replace --url=example.com example.com example.test 'wp_*options' wp_blogs + $ wp search-replace --url=example.com example.com example.test 'wp_*options' wp_blogs wp_site --network # Search/replace to a SQL file without transforming the database $ wp search-replace foo bar --export=database.sql diff --git a/src/Search_Replace_Command.php b/src/Search_Replace_Command.php index 96234e58..cba190a4 100644 --- a/src/Search_Replace_Command.php +++ b/src/Search_Replace_Command.php @@ -156,7 +156,7 @@ class Search_Replace_Command extends WP_CLI_Command { * $ wp search-replace '\[foo id="([0-9]+)"' '[bar id="\1"' --regex --regex-flags='i' * * # Turn your production multisite database into a local dev database - * $ wp search-replace --url=example.com example.com example.test 'wp_*options' wp_blogs + * $ wp search-replace --url=example.com example.com example.test 'wp_*options' wp_blogs wp_site --network * * # Search/replace to a SQL file without transforming the database * $ wp search-replace foo bar --export=database.sql