You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's two things happening here:
a.) --json is a deprecated flag that was later replaced by the more generic --format=json, as we also support other formats by now. WP-CLI automatically turns --json into --format=json for backward compatibility.
b.) The above three commands don't support a --format flag, so the error just tells you that you're using an unknown flag for these commands.
So the behavior of WP-CLI is correct here, even if it might be slightly misleading due to backward compatibility logic.
As to whether we would want to add --format support to these commands, it would help to know what specific use case you are trying to solve.
All update commands for language files with "- json" generate an error.
The text was updated successfully, but these errors were encountered: