summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
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)
}