commit 2a9ac496f61cb9343744bf9fc55f0c6ae2a911c9 parent 969a5e0d61fb4c19eef19e262391c9c97d8f0b12 Author: Sean Enck <sean@ttypty.com> Date: Sat, 1 Oct 2022 12:05:41 -0400 cleanup version before print Diffstat:
| M | cmd/main.go | | | 2 | +- |
| M | cmd/vers.txt | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/main.go b/cmd/main.go @@ -93,7 +93,7 @@ func run() *programError { fmt.Println(f.Path) } case "version": - fmt.Printf("version: %s\n", version) + fmt.Printf("version: %s\n", strings.TrimSpace(version)) case "insert": options := cli.Arguments{} idx := 2 diff --git a/cmd/vers.txt b/cmd/vers.txt @@ -1 +1 @@ -v22.10.00 +v22.10.01