summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/main.go b/main.go
index 8d8e972..96b3295 100644
--- a/main.go
+++ b/main.go
@@ -10,7 +10,6 @@ import (
"path/filepath"
"unicode"
- "go.wit.com/dev/alexflint/arg"
"go.wit.com/lib/gui/prep"
"go.wit.com/lib/protobuf/forgepb"
"go.wit.com/lib/protobuf/gitpb"
@@ -31,9 +30,7 @@ var debnames map[*gitpb.Repo]string
func main() {
me = new(autoType)
- 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.argpp = arg.MustParse(&argv)
+ me.auto = prep.Bash3(&argv) // add support for bash autocomplete with go-arg
dumpDebug()