forked from TrueCloudLab/frostfs-node
[#1665] neofs-lens: Use stdout as default output
Signed-off-by: a.y.volkov <a.y.volkov@yadro.com>
This commit is contained in:
parent
cd71de69a0
commit
81684b6f04
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,8 @@ func entryPoint(cmd *cobra.Command, _ []string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
// use stdout as default output for cmd.Print()
|
||||||
|
command.SetOut(os.Stdout)
|
||||||
command.Flags().Bool("version", false, "application version")
|
command.Flags().Bool("version", false, "application version")
|
||||||
command.AddCommand(
|
command.AddCommand(
|
||||||
cmdlist.Command,
|
cmdlist.Command,
|
||||||
|
|
Loading…
Reference in a new issue