summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-25 01:21:36 -0500
committerJeff Carr <[email protected]>2025-09-25 01:21:36 -0500
commitdada18c9a153db03f9cf52b6d4ba7e864bf5e3ba (patch)
tree6a4860c852f580c01bdda7a6a17fda79163e31b7 /main.go
parent6d670cc64ff89576c0b4532123c48523c32f5493 (diff)
update to the new autocompletev0.22.143
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/main.go b/main.go
index e705c6c..4414b59 100644
--- a/main.go
+++ b/main.go
@@ -6,7 +6,6 @@ import (
"path/filepath"
"time"
- "go.wit.com/dev/alexflint/arg"
"go.wit.com/lib/gui/prep"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
@@ -24,9 +23,8 @@ var argv args
func main() {
me = new(mainType)
- prep.Bash(ARGNAME, argv.DoAutoComplete) // this line should be: prep.Bash(argv)
- me.myGui = prep.Gui() // prepares the GUI package for go-args
- me.pp = arg.MustParse(&argv)
+ me.myGui = prep.Gui() // prepares the GUI package for go-args
+ me.auto = prep.Bash3(&argv) // this line should be: prep.Bash(&argv)
wd, err := os.Getwd()
if err != nil {