summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-17 11:45:19 -0500
committerJeff Carr <[email protected]>2025-10-17 11:45:19 -0500
commit7c95c8408ddf1fb9a05c4aa6d2b4de2b6648c4a9 (patch)
tree4c1ea1dc82d94bff96b9a6d339b1c1c12cf830a8 /argv.go
parentdf0979a9468e56a930d0fe64c41066bd21dc3b04 (diff)
Finally renamed prep to argvpb
I think this will be the final resting palce for this part of the shell autocomplete. At least I hope so.
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/argv.go b/argv.go
index 893ebde..ed03922 100644
--- a/argv.go
+++ b/argv.go
@@ -9,7 +9,7 @@ import (
"go.wit.com/gui"
"go.wit.com/lib/debugger"
"go.wit.com/lib/fhelp"
- "go.wit.com/lib/gui/prep"
+ "go.wit.com/lib/protobuf/argvpb"
)
/*
@@ -180,7 +180,7 @@ type ConfigAddCmd struct {
func (args) Version() string {
// log.Info(me.sh.Version())
// return ARGNAME + " " + VERSION + " Built on " + BUILDTIME
- return prep.StandardVersion(ARGNAME, VERSION, BUILDTIME)
+ return argvpb.StandardVersion(ARGNAME, VERSION, BUILDTIME)
}
func (args) Buildtime() (string, string) {
@@ -240,7 +240,7 @@ func (args) Examples() string {
}
// sends the strings to bash or zsh that will be your options
-func (a args) SendCompletionStrings(pb *prep.Auto) {
+func (a args) SendCompletionStrings(pb *argvpb.Argv) {
if pb.Cmd == "" {
// these are base autocomplete strings
matches := []string{"clean", "commit", "merge", "patch", "normal", "pull", "rebuild"}