From a1ce369d02c1b1e2c8ee803dce8845171e592e71 Mon Sep 17 00:00:00 2001 From: Piotr Halama Date: Thu, 27 Jun 2024 13:48:46 +0200 Subject: [PATCH] fix: Change deprecation notice output to stderr --- cmd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/main.go b/cmd/main.go index 9269c5006..fa4e427f0 100755 --- a/cmd/main.go +++ b/cmd/main.go @@ -9,7 +9,7 @@ import ( ) func main() { - fmt.Print("WARNING: All commands within v2 are deprecated. We are designing v3 of kyma CLI with a new set of commands that will be first released within alpha command group.\n\n") + fmt.Fprint(os.Stderr, "WARNING: All commands within v2 are deprecated. We are designing v3 of kyma CLI with a new set of commands that will be first released within alpha command group.\n\n") command := kyma.NewCmd(cli.NewOptions())