Skip to content

Commit 726179f

Browse files
committed
Make products command docs consistent with #115
1 parent 677ce2c commit 726179f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/CLI.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public static function coupons( $args, $assoc_args ) {
185185
'type' => 'positional',
186186
'description' => 'The number of products to generate.',
187187
'optional' => true,
188-
'default' => 100,
188+
'default' => 10,
189189
),
190190
array(
191191
'name' => 'type',
@@ -195,7 +195,7 @@ public static function coupons( $args, $assoc_args ) {
195195
'options' => array( 'simple', 'variable' ),
196196
),
197197
),
198-
'longdesc' => "## EXAMPLES\n\nwc generate products 100\n\nwc generate products 10 --type=variable",
198+
'longdesc' => "## EXAMPLES\n\nwc generate products 10\n\nwc generate products 20 --type=variable",
199199
) );
200200

201201
WP_CLI::add_command( 'wc generate orders', array( 'WC\SmoothGenerator\CLI', 'orders' ), array(

0 commit comments

Comments
 (0)