OSDN Git Service

Fix wrong example in 'wp comment list' documentation
authorRodrigo Primo <rodrigo@hacklab.com.br>
Tue, 17 Dec 2013 12:59:14 +0000 (10:59 -0200)
committerRodrigo Primo <rodrigo@hacklab.com.br>
Tue, 17 Dec 2013 12:59:14 +0000 (10:59 -0200)
php/commands/comment.php

index 6a45b83..28652b8 100644 (file)
@@ -133,7 +133,7 @@ class Comment_Command extends \WP_CLI\CommandWithDBObject {
         *
         *     wp comment list --post_id=2
         *
-        *     wp comment list --number=20 --comment_approved=1
+        *     wp comment list --number=20 --status=approve
         *
         * @subcommand list
         */