NormalizeFormatFlags turns --json into --format json on cmd's flags, so.
func NormalizeFormatFlags(cmd *cobra.Command) errorNormalizeFormatFlags turns --json into --format json on cmd's flags, so everything that reads --format sees the format --json selects. It fails when --json is combined with a --format other than json.
| Name | Type | Description |
|---|---|---|
cmd* | *cobra.Command |