From b71960c9b1ef0598b0515d7b54e4d3345875123c Mon Sep 17 00:00:00 2001 From: Kenneth Shaw Date: Thu, 2 Jan 2025 07:34:45 +0700 Subject: [PATCH] Fixing release --- main.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 10ec077..25b8fc9 100644 --- a/main.go +++ b/main.go @@ -31,12 +31,18 @@ import ( _ "github.com/xo/ox/color" ) +var ( + name = "fv" + version = "0.0.0-dev" +) + func main() { + ox.DefaultVersionString = version args := &Args{} ox.RunContext( context.Background(), ox.Exec(run(os.Stdout, args)), - ox.Usage("fv", "a command-line font view using terminal graphics"), + ox.Usage(name, "a command-line font view using terminal graphics"), ox.Defaults(), ox.From(args), )