Skip to content

Commit

Permalink
Make --clear-cache a true flag and not an associative param
Browse files Browse the repository at this point in the history
  • Loading branch information
pattonwebz committed Jul 12, 2024
1 parent 447852a commit 8076a56
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions includes/classes/WPCLI/Command/GetSiteStats.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,9 @@ public static function get_args(): array {
'repeating' => true,
],
[
'type' => 'assoc',
'type' => 'flag',
'name' => 'clear-cache',
'description' => esc_html__( 'Clear the cache before retrieving the stats (can be intensive).', 'accessibility-checker' ),
'optional' => true,
'default' => true,
'repeating' => false,
],
],
Expand Down

0 comments on commit 8076a56

Please sign in to comment.