Skip to content

Commit 80d4b66

Browse files
Merge pull request #204 from wp-cli/balance
Update readme
2 parents 73e27be + 5bdf608 commit 80d4b66

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2182,7 +2182,7 @@ wp post edit <id>
21822182
Generates some posts.
21832183

21842184
~~~
2185-
wp post generate [--count=<number>] [--post_type=<type>] [--post_status=<status>] [--post_title=<post_title>] [--post_author=<login>] [--post_date=<yyyy-mm-dd-hh-ii-ss>] [--post_content] [--max_depth=<number>] [--format=<format>]
2185+
wp post generate [--count=<number>] [--post_type=<type>] [--post_status=<status>] [--post_title=<post_title>] [--post_author=<login>] [--post_date=<yyyy-mm-dd-hh-ii-ss>] [--post_date_gmt=<yyyy-mm-dd-hh-ii-ss>] [--post_content] [--max_depth=<number>] [--format=<format>]
21862186
~~~
21872187

21882188
Creates a specified number of new posts with dummy data.
@@ -2222,6 +2222,9 @@ Creates a specified number of new posts with dummy data.
22222222
[--post_date=<yyyy-mm-dd-hh-ii-ss>]
22232223
The date of the generated posts. Default: current date
22242224

2225+
[--post_date_gmt=<yyyy-mm-dd-hh-ii-ss>]
2226+
The GMT date of the generated posts. Default: value of post_date (or current date if it's not set)
2227+
22252228
[--post_content]
22262229
If set, the command reads the post_content from STDIN.
22272230

@@ -5469,7 +5472,7 @@ wp user unspam <id>...
54695472
Updates an existing user.
54705473

54715474
~~~
5472-
wp user update <user>... [--user_pass=<password>] [--user_nicename=<nice_name>] [--user_url=<url>] [--user_email=<email>] [--display_name=<display_name>] [--nickname=<nickname>] [--first_name=<first_name>] [--last_name=<last_name>] [--description=<description>] [--rich_editing=<rich_editing>] [--user_registered=<yyyy-mm-dd-hh-ii-ss>] [--role=<role>] --<field>=<value>
5475+
wp user update <user>... [--user_pass=<password>] [--user_nicename=<nice_name>] [--user_url=<url>] [--user_email=<email>] [--display_name=<display_name>] [--nickname=<nickname>] [--first_name=<first_name>] [--last_name=<last_name>] [--description=<description>] [--rich_editing=<rich_editing>] [--user_registered=<yyyy-mm-dd-hh-ii-ss>] [--role=<role>] --<field>=<value> [--skip-email]
54735476
~~~
54745477

54755478
**OPTIONS**
@@ -5516,6 +5519,9 @@ wp user update <user>... [--user_pass=<password>] [--user_nicename=<nice_name>]
55165519
--<field>=<value>
55175520
One or more fields to update. For accepted fields, see wp_update_user().
55185521

5522+
[--skip-email]
5523+
Don't send an email notification to the user.
5524+
55195525
**EXAMPLES**
55205526

55215527
# Update user

src/Post_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function __construct() {
148148
* Success: Created post 1922.
149149
*
150150
* # Create a post with multiple meta values.
151-
* $ wp post create --post_title='A post' --post_content='Just a small post.' --meta_input='{"key1":"value1","key2":"value2"}
151+
* $ wp post create --post_title='A post' --post_content='Just a small post.' --meta_input='{"key1":"value1","key2":"value2"}'
152152
* Success: Created post 1923.
153153
*
154154
* # Create a duplicate post from existing posts.

0 commit comments

Comments
 (0)