Skip to content

Commit 046aaab

Browse files
authored
Merge pull request #858 from Codeinwp/carlalexander-clear-cache-fix
make `--type` option optional with `clear_cache` command
2 parents 5dc33c3 + e8e2a1b commit 046aaab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/cli/cli_setting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private function update_setting( $new_setting ) {
129129
/**
130130
* Clear cache.
131131
*
132-
* --type=<type>
132+
* [--type=<type>]
133133
* : The type of cache to clear. Default is images.
134134
*/
135135
public function clear_cache( $args, $assoc_args ) {

0 commit comments

Comments
 (0)