diff --git a/README.md b/README.md index 05e1bd073..2a60b15e3 100644 --- a/README.md +++ b/README.md @@ -2111,7 +2111,7 @@ wp post create [--post_author=] [--post_date=] [--post_d Success: Created post 1922. # Create a post with multiple meta values. - $ wp post create --post_title='A post' --post_content='Just a small post.' --meta_input='{"key1":"value1","key2":"value2"} + $ wp post create --post_title='A post' --post_content='Just a small post.' --meta_input='{"key1":"value1","key2":"value2"}' Success: Created post 1923. # Create a duplicate post from existing posts. diff --git a/src/Post_Command.php b/src/Post_Command.php index 8f440c8ac..cdb36da28 100644 --- a/src/Post_Command.php +++ b/src/Post_Command.php @@ -148,7 +148,7 @@ public function __construct() { * Success: Created post 1922. * * # Create a post with multiple meta values. - * $ wp post create --post_title='A post' --post_content='Just a small post.' --meta_input='{"key1":"value1","key2":"value2"} + * $ wp post create --post_title='A post' --post_content='Just a small post.' --meta_input='{"key1":"value1","key2":"value2"}' * Success: Created post 1923. * * # Create a duplicate post from existing posts.