Skip to content

Commit e7cd627

Browse files
Fix scaffold package tests command docs (#229)
Co-authored-by: Daniel Bachhuber <daniel.bachhuber@automattic.com>
1 parent 1256e69 commit e7cd627

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,11 @@ WP-CLI Behat framework uses Behat ~2.5, which is installed with Composer.
179179
[--force]
180180
Overwrite files that already exist.
181181

182-
**EXAMPLE**
182+
**EXAMPLES**
183183

184-
wp scaffold package-tests /path/to/command/dir/
184+
# Generate files for writing Behat tests.
185+
$ wp scaffold package-tests /path/to/command/dir/
186+
Success: Created package test files.
185187

186188

187189

src/ScaffoldPackageCommand.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -626,9 +626,11 @@ public function package_github( $args, $assoc_args ) {
626626
* [--force]
627627
* : Overwrite files that already exist.
628628
*
629-
* ## EXAMPLE
629+
* ## EXAMPLES
630630
*
631-
* wp scaffold package-tests /path/to/command/dir/
631+
* # Generate files for writing Behat tests.
632+
* $ wp scaffold package-tests /path/to/command/dir/
633+
* Success: Created package test files.
632634
*
633635
* @when before_wp_load
634636
* @subcommand package-tests

0 commit comments

Comments
 (0)