Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Commit bdfb0ec

Browse files
authored
Merge pull request #122 from xwp/fix/121
Fix example in doc block of wp-cli command
2 parents ef46389 + 9c1a10e commit bdfb0ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

php/class-customize-snapshot-command.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ class Customize_Snapshot_Command {
2323
*
2424
* ## EXAMPLES
2525
*
26-
* wp customize_snapshot migrate --dry-run
27-
* wp customize_snapshot migrate
26+
* wp customize-snapshots migrate --dry-run
27+
* wp customize-snapshots migrate
2828
*
2929
* @when after_wp_load
3030
*
@@ -57,5 +57,5 @@ public function migrate( $arg, $assoc_args ) {
5757
}
5858

5959
if ( defined( 'WP_CLI' ) && WP_CLI ) {
60-
\WP_CLI::add_command( 'snapshot', __NAMESPACE__ . '\\Customize_Snapshot_Command' );
60+
\WP_CLI::add_command( 'customize-snapshots', __NAMESPACE__ . '\\Customize_Snapshot_Command' );
6161
}

0 commit comments

Comments
 (0)