summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index c4f1b53..0eddea2 100644
--- a/main.go
+++ b/main.go
@@ -8,7 +8,7 @@ import (
"os"
"unicode"
- "go.wit.com/lib/gui/prep"
+ "go.wit.com/lib/protobuf/argvpb"
"go.wit.com/lib/protobuf/filepb"
"go.wit.com/log"
)
@@ -26,8 +26,8 @@ var resources embed.FS
func main() {
me = new(mainType)
// autocomplete must be processed before there is anything sent to STDOUT or STDERR
- me.sh = prep.Autocomplete(&argv) // adds shell auto complete to go-args
- me.homedir, _ = os.UserHomeDir() // store shortcut here todo: add better logic
+ me.sh = argvpb.Autocomplete(&argv) // adds shell auto complete to go-args
+ me.homedir, _ = os.UserHomeDir() // store shortcut here todo: add better logic
if me.sh.Cmd == "" {
// user didn't enter a sub command