OSDN Git Service

behat: fix help --gen test
authorscribu <mail@scribu.net>
Sat, 15 Jun 2013 10:47:15 +0000 (13:47 +0300)
committerscribu <mail@scribu.net>
Sat, 15 Jun 2013 10:47:15 +0000 (13:47 +0300)
features/help.feature
man/option.1

index b23b898..5b8b421 100644 (file)
@@ -43,10 +43,10 @@ Feature: Get help about WP-CLI commands
   @ronn
   Scenario: Generating help for multisite-only subcommands
     Given an empty directory
-    When I run `wp help --gen blog create`
+    When I run `wp help --gen site create`
     Then STDOUT should be:
       """
-      generated blog-create.1
+      generated site-create.1
       """
 
   @ronn
index 904b88a..69a8fb2 100644 (file)
@@ -7,16 +7,16 @@
 \fBwp\-option\fR \- Manage WordPress options\.
 .
 .SH "SYNOPSIS"
-wp option get \fIkey\fR [\-\-format=\fIformat\fR]
+wp option add \fIkey\fR [\-\-format=\fIformat\fR]
 .
 .P
-wp option add \fIkey\fR [\-\-format=\fIformat\fR]
+wp option delete \fIkey\fR
 .
 .P
-wp option update \fIkey\fR [\-\-format=\fIformat\fR]
+wp option get \fIkey\fR [\-\-format=\fIformat\fR]
 .
 .P
-wp option delete \fIkey\fR
+wp option update \fIkey\fR [\-\-format=\fIformat\fR]
 .
 .SH "SUBCOMMANDS"
 .