diff --git a/cmd/cmd_get_client.go b/cmd/cmd_get_client.go index 441134b187c..3ad6d4b715d 100644 --- a/cmd/cmd_get_client.go +++ b/cmd/cmd_get_client.go @@ -20,7 +20,7 @@ func NewGetClientsCmd() *cobra.Command { Long: `This command gets all the details about an OAuth 2.0 Client. You can use this command in combination with jq.`, Example: `To get the OAuth 2.0 Client's secret, run: - {{ .CommandPath }} --json | jq -r '.client_secret'`, + {{ .CommandPath }} --format json | jq -r '.client_secret'`, RunE: func(cmd *cobra.Command, args []string) error { m, _, err := cliclient.NewClient(cmd) if err != nil {