[#1665] neofs-lens: Use stdout as default output

Signed-off-by: a.y.volkov <a.y.volkov@yadro.com>
neofs-adm-fix-update
a.y.volkov 2022-08-07 00:16:04 +03:00 committed by Pavel Karpy
parent cd71de69a0
commit 81684b6f04
1 changed files with 2 additions and 0 deletions

View File

@ -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,