Skip to content

Commit 36f3ce4

Browse files
Regenerate README file (#325)
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
1 parent 2f0523f commit 36f3ce4

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ To confirm the ID for the site you want to query, you can use the `wp site list`
431431
Exports the database to a file or to STDOUT.
432432

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

437437
**Alias:** `dump`
@@ -466,16 +466,13 @@ Runs `mysqldump` utility using `DB_HOST`, `DB_NAME`, `DB_USER` and
466466
[--porcelain]
467467
Output filename for the exported database.
468468

469-
[--add-drop-table]
470-
Include a `DROP TABLE IF EXISTS` statement before each `CREATE TABLE` statement.
471-
472469
[--defaults]
473470
Loads the environment's MySQL option files. Default behavior is to skip loading them to avoid failures due to misconfiguration.
474471

475472
**EXAMPLES**
476473

477-
# Export database with drop query included
478-
$ wp db export --add-drop-table
474+
# Export database with `--skip-opt` and `--add-drop-table` mysqldump flags
475+
$ wp db export --skip-opt --add-drop-table
479476
Success: Exported to 'wordpress_dbase-db72bb5.sql'.
480477

481478
# Export certain tables

0 commit comments

Comments
 (0)