Skip to content

Commit 5cf12ef

Browse files
authored
Merge pull request #264 from wp-cli/regenerate-readme
2 parents a2f39f6 + 067fee0 commit 5cf12ef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ To confirm the ID for the site you want to query, you can use the `wp site list`
429429
Exports the database to a file or to STDOUT.
430430

431431
~~~
432-
wp db export [<file>] [--dbuser=<value>] [--dbpass=<value>] [--<field>=<value>] [--tables=<tables>] [--exclude_tables=<tables>] [--include-tablespaces] [--porcelain] [--defaults]
432+
wp db export [<file>] [--dbuser=<value>] [--dbpass=<value>] [--<field>=<value>] [--tables=<tables>] [--exclude_tables=<tables>] [--include-tablespaces] [--porcelain] [--add-drop-table] [--defaults]
433433
~~~
434434

435435
Runs `mysqldump` utility using `DB_HOST`, `DB_NAME`, `DB_USER` and
@@ -462,6 +462,9 @@ Runs `mysqldump` utility using `DB_HOST`, `DB_NAME`, `DB_USER` and
462462
[--porcelain]
463463
Output filename for the exported database.
464464

465+
[--add-drop-table]
466+
Include a `DROP TABLE IF EXISTS` statement before each `CREATE TABLE` statement.
467+
465468
[--defaults]
466469
Loads the environment's MySQL option files. Default behavior is to skip loading them to avoid failures due to misconfiguration.
467470

0 commit comments

Comments
 (0)