diff options
Diffstat (limited to 'commands/user_create.go')
-rw-r--r-- | commands/user_create.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/commands/user_create.go b/commands/user_create.go index b5cb0528..14a13eac 100644 --- a/commands/user_create.go +++ b/commands/user_create.go @@ -22,6 +22,9 @@ func newUserCreateCommand() *cobra.Command { Short: "Create a new identity.", PreRunE: loadBackend(env), RunE: closeBackend(env, func(cmd *cobra.Command, args []string) error { + env.err = out{Writer: cmd.ErrOrStderr()} + env.out = out{Writer: cmd.OutOrStdout()} + return runUserCreate(env, options) }), } |