From e9ecf2ed7e82fafeb3c0a31ad312de2d2cde7344 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 2 Dec 2024 08:45:13 -0600 Subject: man this doesn't work right --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 49cb28f..909cbef 100644 --- a/main.go +++ b/main.go @@ -18,7 +18,7 @@ var VERSION string //go:embed resources/* var resources embed.FS -var myargs argv +var argv args func main() { me = new(autoType) @@ -29,7 +29,7 @@ func main() { os.Setenv("REPO_WORK_PATH", me.forge.GetGoSrc()) // parse the command line - arg.MustParse(&myargs) + arg.MustParse(&argv) // save the ENV var here me.releaseReasonS = os.Getenv("GUIRELEASE_REASON") @@ -83,7 +83,7 @@ func main() { // which should be all the git repositories in ~/go/src & the .config file me.repos = makeRepoView() - if myargs.DumpVersions { + if argv.DumpVersions { gowit.DumpVersions(me.repos.View) os.Exit(0) } -- cgit v1.2.3