Skip to content

Commit 5e70cde

Browse files
anthonysterlingalnr
authored andcommitted
update doc example for get oauth2-client
1 parent 29f053e commit 5e70cde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/cmd_get_client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ func NewGetClientsCmd() *cobra.Command {
1818
Args: cobra.MinimumNArgs(1),
1919
Short: "Get one or more OAuth 2.0 Clients by their ID(s)",
2020
Long: `This command gets all the details about an OAuth 2.0 Client. You can use this command in combination with jq.`,
21-
Example: `To get the OAuth 2.0 Client's secret, run:
21+
Example: `To get the OAuth 2.0 Client's name, run:
2222
23-
{{ .CommandPath }} <your-client-id> --format json | jq -r '.client_secret'`,
23+
{{ .CommandPath }} <your-client-id> --format json | jq -r '.client_name'`,
2424
RunE: func(cmd *cobra.Command, args []string) error {
2525
m, _, err := cliclient.NewClient(cmd)
2626
if err != nil {

0 commit comments

Comments
 (0)