Skip to content

Commit e64e94e

Browse files
Format as JSON when --json flag is passed (#1002)
fix: format as JSON when --json flag is passed Co-authored-by: KunalOfficial <[email protected]>
1 parent a5ca6bf commit e64e94e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cli/tenants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func listTenantCmd(cli *cli) *cobra.Command {
5353
},
5454
}
5555

56-
cmd.Flags().BoolVar(&cli.csv, "json", false, "Output in json format.")
56+
cmd.Flags().BoolVar(&cli.json, "json", false, "Output in json format.")
5757
cmd.Flags().BoolVar(&cli.csv, "csv", false, "Output in csv format.")
5858
cmd.MarkFlagsMutuallyExclusive("json", "csv")
5959

0 commit comments

Comments
 (0)