Skip to content

Commit 2a8168d

Browse files
Use `example.com
1 parent 0846785 commit 2a8168d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,9 @@ Executes an arbitrary SQL query using `DB_HOST`, `DB_NAME`, `DB_USER`
366366

367367
# Query for a specific value in the database (pipe the result to remove the ASCII table borders)
368368
$ wp db query 'SELECT option_value FROM wp_options WHERE option_name="home"' --skip-column-names
369-
+----------------------+
370-
| https://vanilla.test |
371-
+----------------------+
369+
+---------------------+
370+
| https://example.com |
371+
+---------------------+
372372

373373
# Check all tables in the database
374374
$ wp db query "CHECK TABLE $(wp db tables | paste -s -d, -);"

src/DB_Command.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -425,9 +425,9 @@ public function cli( $_, $assoc_args ) {
425425
*
426426
* # Query for a specific value in the database (pipe the result to remove the ASCII table borders)
427427
* $ wp db query 'SELECT option_value FROM wp_options WHERE option_name="home"' --skip-column-names
428-
* +----------------------+
429-
* | https://vanilla.test |
430-
* +----------------------+
428+
* +---------------------+
429+
* | https://example.com |
430+
* +---------------------+
431431
*
432432
* # Check all tables in the database
433433
* $ wp db query "CHECK TABLE $(wp db tables | paste -s -d, -);"

0 commit comments

Comments
 (0)