diff --git a/README.md b/README.md index ed0f64f0..4408c743 100644 --- a/README.md +++ b/README.md @@ -2208,7 +2208,7 @@ wp post create [--post_author=] [--post_date=] [--post_d **EXAMPLES** # Create post and schedule for future - $ wp post create --post_type=page --post_title='A future post' --post_status=future --post_date='2020-12-01 07:00:00' + $ wp post create --post_type=post --post_title='A future post' --post_status=future --post_date='2030-12-01 07:00:00' Success: Created post 1921. # Create post with content from given file diff --git a/src/Post_Command.php b/src/Post_Command.php index 7b9942ab..2c7ee0cf 100644 --- a/src/Post_Command.php +++ b/src/Post_Command.php @@ -147,7 +147,7 @@ public function __construct() { * ## EXAMPLES * * # Create post and schedule for future - * $ wp post create --post_type=page --post_title='A future post' --post_status=future --post_date='2020-12-01 07:00:00' + * $ wp post create --post_type=post --post_title='A future post' --post_status=future --post_date='2030-12-01 07:00:00' * Success: Created post 1921. * * # Create post with content from given file