Skip to content

Commit

Permalink
docs: incorrect json output format example (#3497)
Browse files Browse the repository at this point in the history
  • Loading branch information
kangaechu committed Apr 29, 2023
1 parent 13ce0d6 commit b71a36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cmd_get_client.go
Expand Up @@ -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 }} <your-client-id> --json | jq -r '.client_secret'`,
{{ .CommandPath }} <your-client-id> --format json | jq -r '.client_secret'`,
RunE: func(cmd *cobra.Command, args []string) error {
m, _, err := cliclient.NewClient(cmd)
if err != nil {
Expand Down

0 comments on commit b71a36b

Please sign in to comment.