summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-25 02:09:19 -0500
committerJeff Carr <[email protected]>2025-09-25 02:09:19 -0500
commit7bf204299f01a0739c435d3768277c279c6291d3 (patch)
tree6224a1c93434c8b7cd638557c37cc2022dc08a47 /main.go
parent94bd4728ba260bbda7643e51f1beb9629b6b90d5 (diff)
new bash autocompletev0.0.28v0.0.27v0.0.26v0.0.25
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 d2bebf7..9b7bacd 100644
--- a/main.go
+++ b/main.go
@@ -8,7 +8,6 @@ package main
import (
"fmt"
- "go.wit.com/dev/alexflint/arg"
"go.wit.com/lib/gui/prep"
"go.wit.com/log"
)
@@ -27,9 +26,8 @@ var configFile string = "/home/jcarr/.config/startxplacement.out"
func main() {
me = new(mainType)
- prep.Bash(ARGNAME, argv.DoAutoComplete) // todo: 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
if argv.DumpX != nil {
doDumpX()