diff --git a/README.md b/README.md index e6fc47c..26224d3 100644 --- a/README.md +++ b/README.md @@ -62,8 +62,7 @@ As of 1.4.1 the `add-index`, `primary-key-add` and `primary-key-revert` commands However, you can script this process in bash by getting a list of sites and looping over them: ```bash -for site in $(wp site list --field=url); -then +for site in $(wp site list --field=url); do wp pantheon session add-index --url=$site done ``` diff --git a/readme.txt b/readme.txt index ca5599f..1175a8a 100644 --- a/readme.txt +++ b/readme.txt @@ -60,8 +60,7 @@ As of 1.4.1 the `add-index`, `primary-key-add` and `primary-key-revert` commands However, you can script this process in bash by getting a list of sites and looping over them: - for site in $(wp site list --field=url); - then + for site in $(wp site list --field=url); do wp pantheon session add-index --url=$site done