Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ wp config delete <name> [--type=<type>] [--config-file=<path>]
Generates a wp-config.php file.

~~~
wp config create [--dbname=<dbname>] [--dbuser=<dbuser>] [--dbpass=<dbpass>] [--dbhost=<dbhost>] [--dbprefix=<dbprefix>] [--dbcharset=<dbcharset>] [--dbcollate=<dbcollate>] [--locale=<locale>] [--extra-php] [--skip-salts] [--skip-check] [--force] [--config-file=<path>] [--insecure] [--ssl]
wp config create [--dbname=<dbname>] [--dbuser=<dbuser>] [--dbpass|db_password=<dbpass>] [--dbhost=<dbhost>] [--dbprefix=<dbprefix>] [--dbcharset=<dbcharset>] [--dbcollate=<dbcollate>] [--locale=<locale>] [--extra-php] [--skip-salts] [--skip-check] [--force] [--config-file=<path>] [--insecure] [--ssl]
Comment thread
swissspidy marked this conversation as resolved.
~~~

Creates a new wp-config.php with database constants, and verifies that
Expand All @@ -218,7 +218,7 @@ the database constants are correct.
[--dbuser=<dbuser>]
Set the database user. Required unless `--skip-check` is used or the SQLite integration drop-in is detected.

[--dbpass=<dbpass>]
[--dbpass|db_password=<dbpass>]
Comment thread
swissspidy marked this conversation as resolved.
Set the database user password.
---
sensitive: true
Expand Down
2 changes: 1 addition & 1 deletion src/Config_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private static function get_initial_locale() {
* [--dbuser=<dbuser>]
* : Set the database user. Required unless `--skip-check` is used or the SQLite integration drop-in is detected.
*
* [--dbpass=<dbpass>]
* [--dbpass|db_password=<dbpass>]
Comment thread
swissspidy marked this conversation as resolved.
Comment thread
swissspidy marked this conversation as resolved.
* : Set the database user password.
* ---
* sensitive: true
Expand Down
Loading