diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) } |
