summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-02 08:45:13 -0600
committerJeff Carr <[email protected]>2024-12-02 08:45:13 -0600
commite9ecf2ed7e82fafeb3c0a31ad312de2d2cde7344 (patch)
treecddcfac1a101988e31bdfbe42d18102418e85792 /main.go
parent1c8815685b1a12e6d9856ef90b6c8d7f243c0744 (diff)
man this doesn't work right
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)
}