Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
WP Plugins
Cron-Control
Commits
dc93d48e
Verified
Commit
dc93d48e
authored
Dec 05, 2016
by
Erick Hitter
Browse files
Update command name to differentiate from non-one-time commands
parent
749be479
Changes
1
Show whitespace changes
Inline
Side-by-side
includes/wp-cli/class-one-time-fixers.php
View file @
dc93d48e
...
...
@@ -7,7 +7,7 @@ class One_Time_Fixers extends \WPCOM_VIP_CLI_Command {
/**
* Remove corrupt Cron Control data resulting from initial plugin deployment
*
* eg.: `wp --allow-root cron-control remove-all-plugin-data --batch-size=15 --dry-run=true`
* eg.: `wp --allow-root cron-control
-fixers
remove-all-plugin-data --batch-size=15 --dry-run=true`
*
* @subcommand remove-all-plugin-data
*/
...
...
@@ -103,4 +103,4 @@ class One_Time_Fixers extends \WPCOM_VIP_CLI_Command {
}
}
\
WP_CLI
::
add_command
(
'cron-control'
,
'Automattic\WP\Cron_Control\CLI\One_Time_Fixers'
);
\
WP_CLI
::
add_command
(
'cron-control
-fixers
'
,
'Automattic\WP\Cron_Control\CLI\One_Time_Fixers'
);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment