forked from TrueCloudLab/frostfs-node
[#1665] neofs-lens: Use stdout as default output
Signed-off-by: a.y.volkov <a.y.volkov@yadro.com>neofs-adm-fix-update
parent
cd71de69a0
commit
81684b6f04
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue