Skip to content

Commit 957db64

Browse files
authored
Add admin_pass argument alias (#335)
1 parent 0ab6195 commit 957db64

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Subsequent uses of command will use the local cache if it still exists.
173173
Runs the standard WordPress installation process.
174174

175175
~~~
176-
wp core install --url=<url> --title=<site-title> --admin_user=<username> [--admin_password=<password>] --admin_email=<email> [--locale=<locale>] [--skip-email]
176+
wp core install --url=<url> --title=<site-title> --admin_user=<username> [--admin_password|admin_pass=<password>] --admin_email=<email> [--locale=<locale>] [--skip-email]
177177
~~~
178178

179179
Creates the WordPress tables in the database using the URL, title, and
@@ -201,7 +201,7 @@ user_login doesn't exist, a new user will be created.
201201
--admin_user=<username>
202202
The name of the admin user.
203203

204-
[--admin_password=<password>]
204+
[--admin_password|admin_pass=<password>]
205205
The password for the admin user. Defaults to randomly generated string.
206206

207207
--admin_email=<email>

src/Core_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ public function is_installed( $args, $assoc_args ) {
502502
* --admin_user=<username>
503503
* : The name of the admin user.
504504
*
505-
* [--admin_password=<password>]
505+
* [--admin_password|admin_pass=<password>]
506506
* : The password for the admin user. Defaults to randomly generated string.
507507
*
508508
* --admin_email=<email>

0 commit comments

Comments
 (0)