diff --git a/etcdctl/ctlv3/command/auth_command.go b/etcdctl/ctlv3/command/auth_command.go index cf7d21f1b..6b059a427 100644 --- a/etcdctl/ctlv3/command/auth_command.go +++ b/etcdctl/ctlv3/command/auth_command.go @@ -52,4 +52,6 @@ func authEnableCommandFunc(cmd *cobra.Command, args []string) { if err != nil { ExitWithError(ExitError, err) } + + fmt.Println("Authentication Enabled") } diff --git a/etcdctl/ctlv3/command/user_command.go b/etcdctl/ctlv3/command/user_command.go index db63b719d..b9a1df467 100644 --- a/etcdctl/ctlv3/command/user_command.go +++ b/etcdctl/ctlv3/command/user_command.go @@ -97,6 +97,8 @@ func userAddCommandFunc(cmd *cobra.Command, args []string) { if err != nil { ExitWithError(ExitError, err) } + + fmt.Printf("User %s created\n", args[0]) } // userDeleteCommandFunc executes the "user delete" command. @@ -109,4 +111,6 @@ func userDeleteCommandFunc(cmd *cobra.Command, args []string) { if err != nil { ExitWithError(ExitError, err) } + + fmt.Printf("User %s deleted\n", args[0]) }