summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
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 eb37459..760914a 100644
--- a/main.go
+++ b/main.go
@@ -6,7 +6,6 @@ import (
"net/http"
"time"
- "go.wit.com/dev/alexflint/arg"
"go.wit.com/lib/fhelp"
"go.wit.com/lib/gui/prep"
"go.wit.com/lib/protobuf/forgepb"
@@ -27,9 +26,8 @@ var LIBDIR string = "/var/lib/forged/" // need to deprecate this
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) // this line should be: prep.Bash(&argv)
me.forge = forgepb.InitByAppname(ARGNAME)