From 81684b6f0437c182c6e8954346a3ad27d73c9bbe Mon Sep 17 00:00:00 2001 From: "a.y.volkov" Date: Sun, 7 Aug 2022 00:16:04 +0300 Subject: [PATCH] [#1665] neofs-lens: Use stdout as default output Signed-off-by: a.y.volkov --- cmd/neofs-lens/root.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/neofs-lens/root.go b/cmd/neofs-lens/root.go index 0a0716e9..c875b6d0 100644 --- a/cmd/neofs-lens/root.go +++ b/cmd/neofs-lens/root.go @@ -30,6 +30,8 @@ func entryPoint(cmd *cobra.Command, _ []string) error { } func init() { + // use stdout as default output for cmd.Print() + command.SetOut(os.Stdout) command.Flags().Bool("version", false, "application version") command.AddCommand( cmdlist.Command,