From c1e1d77c7f53967ab0d36cde0839dd92ddaa4d11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Smoli=C5=84ski?= Date: Fri, 17 Aug 2018 06:40:31 +0200 Subject: [PATCH 1/2] fix documentation --- src/Post_Command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. From 8c46e67234b93d27051bad040d05c516e104ce84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Smoli=C5=84ski?= Date: Fri, 17 Aug 2018 06:48:31 +0200 Subject: [PATCH 2/2] fix README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.