mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Automatic merge from release/2.0.0 -> release/2.1.0
* commit 'd45c1061ebcf445d7e2374a847b75b966b74c77a': climc: 在stderr输出错误信息
This commit is contained in:
+1
-1
@@ -92,7 +92,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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user