From a40e5bd940c41a1eb98533a01f046c0061e2d866 Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Sat, 13 Mar 2021 16:01:22 +0100 Subject: [PATCH] manage: Silence usage on error (#8) --- pkg/client/set_password.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/client/set_password.go b/pkg/client/set_password.go index 8d08075..268c1f7 100644 --- a/pkg/client/set_password.go +++ b/pkg/client/set_password.go @@ -22,8 +22,6 @@ func cmdSetPassword(cfg *config) *cobra.Command { Short: "Sets an user password.", Long: setPasswordHelp, RunE: func(cmd *cobra.Command, args []string) error { - cmd.SilenceErrors = true - ctx, cancel := context.WithTimeout(context.Background(), cfg.timeout) defer cancel()