]> Cypherpunks repositories - keks.git/commitdiff
Long strings are seldom needed in output
authorSergey Matveev <stargrave@stargrave.org>
Thu, 23 Jan 2025 07:05:59 +0000 (10:05 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 23 Jan 2025 07:05:59 +0000 (10:05 +0300)
go/cmd/pp/main.go

index 00b73d8a0147c99a0985a7c1ad8659c851b3832380b3c6bd19cfa7adf7aec426..5ffa4e9e6e2563d7bdec2d20ecaef480f39c538a8a8703811a626e8a3f3c9449 100644 (file)
@@ -31,7 +31,7 @@ import (
        "go.cypherpunks.su/tai64n/v4"
 )
 
-var MaxStrLen = flag.Uint("max-str-len", 1<<62, "Maximal string length to print")
+var MaxStrLen = flag.Uint("max-str-len", 40, "Maximal string length to print")
 
 func prindent(depth int) {
        fmt.Print(strings.Repeat("  ", depth))