diff options
| author | Jeff Carr <[email protected]> | 2025-09-25 02:09:19 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-25 02:09:19 -0500 |
| commit | 7bf204299f01a0739c435d3768277c279c6291d3 (patch) | |
| tree | 6224a1c93434c8b7cd638557c37cc2022dc08a47 /main.go | |
| parent | 94bd4728ba260bbda7643e51f1beb9629b6b90d5 (diff) | |
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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() |
