summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-26 10:29:48 -0500
committerJeff Carr <[email protected]>2025-10-26 10:29:48 -0500
commita0932e4887683e445f5c0d1cd90bf711ab4b1bf2 (patch)
tree3d3bfff4ae19967c0fa71b0061504235017ecac0 /main.go
parenta9eef24fd4378f0f94897b0d3fd2eb8092f50c8b (diff)
argv: sometimes things work better than beforeHEADv0.22.135v0.22.134masterdevel
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 13e137c..5000e92 100644
--- a/main.go
+++ b/main.go
@@ -28,7 +28,7 @@ var LIBDIR string = "/var/lib/gowebd/"
func main() {
me = new(mainType)
- me.argv = argvpb.Autocomplete(&argv) // adds shell auto complete to go-args
+ argvpb.Init(&argv, APPNAME, BUILDTIME, VERSION) // adds shell auto-complete
if argv.RepoMap != "" {
REPOMAP = argv.RepoMap
@@ -47,9 +47,9 @@ func main() {
if argv.Test != nil {
if s, err := newMakeRepomap(); err != nil {
- me.argv.BadExit(s, err)
+ argvpb.BadExit(s, err)
} else {
- me.argv.GoodExit(s)
+ argvpb.GoodExit(s)
}
}