From dada18c9a153db03f9cf52b6d4ba7e864bf5e3ba Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 25 Sep 2025 01:21:36 -0500 Subject: update to the new autocomplete --- main.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'main.go') 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 { -- cgit v1.2.3