summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-25 02:30:52 -0500
committerJeff Carr <[email protected]>2025-09-25 02:30:52 -0500
commit5e8fab62dc79d50e1d4b447db9f6a70bcd14da42 (patch)
treef2b44ad9937394b0822ccb1dba8724ef3d4816f7 /main.go
parent144a0cf158c341c81896fbd0f50380381636659b (diff)
new argv bash completionv0.0.24v0.0.23v0.0.22v0.0.21
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 e85db7b..42ec96f 100644
--- a/main.go
+++ b/main.go
@@ -9,7 +9,6 @@ import (
"embed"
"github.com/google/uuid"
- "go.wit.com/dev/alexflint/arg"
"go.wit.com/lib/gui/prep"
"go.wit.com/lib/protobuf/chatpb"
"go.wit.com/log"
@@ -32,9 +31,8 @@ var configSave bool
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) // add support for bash autocomplete with go-arg
var err error
// load the default chat protobuf