From 56370457ddc4360d7db19311736b55e5f0478ca0 Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Wed, 12 Dec 2018 14:08:14 +0000 Subject: [PATCH] =?UTF-8?q?climc:=20=E5=9C=A8stderr=E8=BE=93=E5=87=BA?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/climc/climc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/climc/climc.go b/cmd/climc/climc.go index 175543ccc8..df805d5238 100644 --- a/cmd/climc/climc.go +++ b/cmd/climc/climc.go @@ -84,7 +84,7 @@ func getSubcommandsParser() (*structarg.ArgumentParser, error) { } func showErrorAndExit(e error) { - fmt.Printf("Error: %s\n", e) + fmt.Fprintf(os.Stderr, "Error: %s\n", e) os.Exit(1) }