From fd6c04fec50fb083549b1c55f66f5279a7bdf468 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 25 Oct 2025 18:18:36 -0500 Subject: kinda half ass working again --- argv.custom.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/argv.custom.go b/argv.custom.go index cdbe31c..9525e82 100644 --- a/argv.custom.go +++ b/argv.custom.go @@ -4,7 +4,9 @@ package main import ( + "fmt" "os" + "strings" "go.wit.com/gui" "go.wit.com/lib/debugger" @@ -96,10 +98,11 @@ func (a args) SendCompletionStrings(pb *argvpb.Argv) { matches := []string{"clean", "commit", "merge", "patch", "normal", "pull", "rebuild", "generate", "config"} matches = append(matches, "show", "add", "fixer", "dev", "verify", "mode", "gui", "whatchanged") matches = append(matches, "--version", "--force", "--all") - pb.SendStrings(matches) + fmt.Fprintf(argvpb.Stdout, strings.Join(matches, " ")) + // pb.SendStrings(matches) } else { // autogenerate the strings for the subcommand using github.com/alexflint/go-arg pb.GenerateSubCommandStrings(pb.Real...) } - os.Exit(0) + // os.Exit(0) } -- cgit v1.2.3