From 7e204190a6c40815bcc37aed4ae7f473429a7c0f Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 19 Oct 2025 04:39:13 -0500 Subject: new argv --- generateHeader.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'generateHeader.go') diff --git a/generateHeader.go b/generateHeader.go index 72fdc9e..2aa7c5e 100644 --- a/generateHeader.go +++ b/generateHeader.go @@ -8,7 +8,6 @@ import ( "io" "os" - "go.wit.com/lib/protobuf/argvpb" "go.wit.com/log" ) @@ -20,7 +19,7 @@ func pbHeaderComment(w io.Writer) { fmt.Fprintln(w, "// user defined Mutex locks were auto added") fmt.Fprintln(w, "//") fmt.Fprintln(w, "// This file was autogenerated with autogenpb:") - fmt.Fprintln(w, "// ", argvpb.StandardVersion(ARGNAME, VERSION, BUILDTIME)) + fmt.Fprintln(w, "// ", me.argv.Version()) fmt.Fprintln(w, "// Theese sort.pb.go and marshal.pb.go files are autogenerated") fmt.Fprintln(w, "// The autogenpb sources have example .proto files with instructions") fmt.Fprintln(w, "") @@ -32,7 +31,7 @@ func headerComment(w io.Writer) { fmt.Fprintln(w, "// go install go.wit.com/apps/autogenpb@latest") fmt.Fprintln(w, "//") fmt.Fprintln(w, "// This file was autogenerated with autogenpb:") - fmt.Fprintln(w, "// ", argvpb.StandardVersion(ARGNAME, VERSION, BUILDTIME)) + fmt.Fprintln(w, "// ", me.argv.Version()) fmt.Fprintln(w, "// Theese sort.pb.go and marshal.pb.go files are autogenerated") fmt.Fprintln(w, "// The autogenpb sources have example .proto files with instructions") fmt.Fprintln(w, "//") -- cgit v1.2.3