Skip to content

Commit 05894a3

Browse files
Copilotswissspidy
andcommitted
Remove default value from --format parameter to prevent auto-population
WP-CLI's parameter parser uses the 'default' value in docblocks to automatically populate parameters. Removing 'default: table' ensures --format is only set when explicitly provided by the user, preserving backward compatibility with existing commands that don't use --format. Co-authored-by: swissspidy <[email protected]>
1 parent de911ad commit 05894a3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Core_Language_Command.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ public function is_installed( $args ) {
186186
* [--format=<format>]
187187
* : Render output in a particular format. Used when installing multiple languages.
188188
* ---
189-
* default: table
190189
* options:
191190
* - table
192191
* - csv

0 commit comments

Comments
 (0)