浏览代码

cmd: preserve exact bytes when displaying template/system layers (#7586)

Blake Mizerany 5 月之前
父节点
当前提交
67691e410d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      cmd/cmd.go

+ 2 - 2
cmd/cmd.go

@@ -800,9 +800,9 @@ func ShowHandler(cmd *cobra.Command, args []string) error {
 		case "parameters":
 		case "parameters":
 			fmt.Println(resp.Parameters)
 			fmt.Println(resp.Parameters)
 		case "system":
 		case "system":
-			fmt.Println(resp.System)
+			fmt.Print(resp.System)
 		case "template":
 		case "template":
-			fmt.Println(resp.Template)
+			fmt.Print(resp.Template)
 		}
 		}
 
 
 		return nil
 		return nil