diff --git a/internal/cli/tenants.go b/internal/cli/tenants.go index 0222b3d31..e2a3d998a 100644 --- a/internal/cli/tenants.go +++ b/internal/cli/tenants.go @@ -53,7 +53,7 @@ func listTenantCmd(cli *cli) *cobra.Command { }, } - cmd.Flags().BoolVar(&cli.csv, "json", false, "Output in json format.") + cmd.Flags().BoolVar(&cli.json, "json", false, "Output in json format.") cmd.Flags().BoolVar(&cli.csv, "csv", false, "Output in csv format.") cmd.MarkFlagsMutuallyExclusive("json", "csv")