Automatic merge from release/2.3.0 -> release/2.4.0

* commit '34aa2a5ff89b1d5397a545cf6cd5c37996b4c3a7':
  climc: 在stderr输出错误信息
This commit is contained in:
邱剑
2018-12-12 23:08:19 +08:00
+1 -1
View File
@@ -96,7 +96,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)
}