diff options
| author | Jeff Carr <[email protected]> | 2024-12-02 08:45:13 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-02 08:45:13 -0600 |
| commit | e9ecf2ed7e82fafeb3c0a31ad312de2d2cde7344 (patch) | |
| tree | cddcfac1a101988e31bdfbe42d18102418e85792 /main.go | |
| parent | 1c8815685b1a12e6d9856ef90b6c8d7f243c0744 (diff) | |
man this doesn't work right
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) } |
