Skip to content

Commit 990a975

Browse files
committed
Added additional '-' to indicate flag and fix errors in test
1 parent 880d522 commit 990a975

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Post_Command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function __construct() {
6666
* [--post_type=<post_type>]
6767
* : The post type. Default 'post'.
6868
*
69-
* [-comment_status=<comment_status>]
69+
* [--comment_status=<comment_status>]
7070
* : Whether the post can accept comments. Accepts 'open' or 'closed'. Default is the value of 'default_comment_status' option.
7171
*
7272
* [--ping_status=<ping_status>]
@@ -203,7 +203,7 @@ public function create( $args, $assoc_args ) {
203203
* [--post_type=<post_type>]
204204
* : The post type. Default 'post'.
205205
*
206-
* [-comment_status=<comment_status>]
206+
* [--comment_status=<comment_status>]
207207
* : Whether the post can accept comments. Accepts 'open' or 'closed'. Default is the value of 'default_comment_status' option.
208208
*
209209
* [--ping_status=<ping_status>]

0 commit comments

Comments
 (0)