diff --git a/README.md b/README.md index 522e6d4403f108d193f00ea7a60d18807e70bf3c..bf7d9af5a74704b6b442285cda9da53234c050e1 100644 --- a/README.md +++ b/README.md @@ -28,13 +28,13 @@ Run WP-CLI commands within Vagrant, returning the result before exiting the VM. Usage: ```bash -user@MacBook:~/vvv/www/wordpress/public_html/wp-content$ wp option get home +bob@MacBook:~/vvv/www/wordpress/public_html/wp-content$ wp option get home cd /srv/www/wordpress/public_html/wp-content; wp option get home https://www.wordpress.test Connection to 127.0.0.1 closed. -user@MacBook:~/vvv/www/wordpress/public_html/wp-content$ +bob@MacBook:~/vvv/www/wordpress/public_html/wp-content$ ``` Note that if a command requires access to a file, the file must exist within the VM and the command must reference the file using its path within the VM. @@ -48,7 +48,7 @@ Switch to the current directory within the VM. Usage: ```bash -user@MacBook:~/vvv/www/wordpress/public_html/wp-content$ vcd +bob@MacBook:~/vvv/www/wordpress/public_html/wp-content$ vcd vagrant@vvv:/srv/www/wordpress/public_html/wp-content$ wp option set test --format=json '{"1":true,"2":false}'