From 9dd7cac0489fa3207dcad3d87ab62fc8ce73c10a Mon Sep 17 00:00:00 2001 From: Will Vedder Date: Wed, 6 Dec 2023 12:06:52 -0500 Subject: [PATCH] Fixing docs again --- docs/auth0_users_blocks_list.md | 4 ++-- docs/auth0_users_blocks_unblock.md | 2 +- internal/cli/users_blocks.go | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/auth0_users_blocks_list.md b/docs/auth0_users_blocks_list.md index 9bb72aa0a..848a7aa90 100644 --- a/docs/auth0_users_blocks_list.md +++ b/docs/auth0_users_blocks_list.md @@ -17,8 +17,8 @@ auth0 users blocks list [flags] ``` auth0 users blocks list auth0 users blocks list --json - auth0 users blocks list "auth0|61b5b6e90783fa19f7c57dad - auth0 users blocks list "frederik@travel0.com + auth0 users blocks list "auth0|61b5b6e90783fa19f7c57dad" + auth0 users blocks list "frederik@travel0.com" ``` diff --git a/docs/auth0_users_blocks_unblock.md b/docs/auth0_users_blocks_unblock.md index e3d77580e..134b26c3c 100644 --- a/docs/auth0_users_blocks_unblock.md +++ b/docs/auth0_users_blocks_unblock.md @@ -16,7 +16,7 @@ auth0 users blocks unblock [flags] ``` auth0 users blocks unblock - auth0 users blocks unblock "auth0|61b5b6e90783fa19f7c57dad + auth0 users blocks unblock "auth0|61b5b6e90783fa19f7c57dad" auth0 users blocks unblock "frederik@travel0.com" "poovam@travel0.com" ``` diff --git a/internal/cli/users_blocks.go b/internal/cli/users_blocks.go index e2551b08e..2491bde04 100644 --- a/internal/cli/users_blocks.go +++ b/internal/cli/users_blocks.go @@ -37,8 +37,8 @@ func listUserBlocksCmd(cli *cli) *cobra.Command { Long: "List brute-force protection blocks for a given user by user ID, username, phone number or email.", Example: ` auth0 users blocks list auth0 users blocks list --json - auth0 users blocks list "auth0|61b5b6e90783fa19f7c57dad - auth0 users blocks list "frederik@travel0.com`, + auth0 users blocks list "auth0|61b5b6e90783fa19f7c57dad" + auth0 users blocks list "frederik@travel0.com"`, RunE: func(cmd *cobra.Command, args []string) error { if len(args) == 0 { if err := userIdentifier.Ask(cmd, &inputs.userIdentifier); err != nil { @@ -78,7 +78,7 @@ func deleteUserBlocksCmd(cli *cli) *cobra.Command { Short: "Remove brute-force protection blocks for users", Long: "Remove brute-force protection blocks for users by user ID, username, phone number or email.", Example: ` auth0 users blocks unblock - auth0 users blocks unblock "auth0|61b5b6e90783fa19f7c57dad + auth0 users blocks unblock "auth0|61b5b6e90783fa19f7c57dad" auth0 users blocks unblock "frederik@travel0.com" "poovam@travel0.com" `, RunE: func(cmd *cobra.Command, args []string) error {