From 077bc5a5be2c6144704347a15c5f5909a60dd310 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 25 Oct 2025 21:21:43 -0500 Subject: something. notsure --- argv.custom.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'argv.custom.go') diff --git a/argv.custom.go b/argv.custom.go index 0184c92..2b4f1f2 100644 --- a/argv.custom.go +++ b/argv.custom.go @@ -37,6 +37,7 @@ forge -- a tool to manage lots of git repos. forge includes a GUI and TUI. ` } +/* func ifBlank(arg string) bool { if arg == "''" { // if empty, the user has not typed something @@ -44,6 +45,7 @@ func ifBlank(arg string) bool { } return false } +*/ func (args) Appname() string { return APPNAME @@ -88,10 +90,12 @@ func (a args) SendCompletionStrings(pb *argvpb.Argv) { if pb.IsMatch("mode.config") { matches := []string{"mine", "favorites"} fmt.Fprintf(argvpb.Stdout, strings.Join(matches, " ")) + return } if pb.IsMatch("mode") { matches := []string{"once", "many", "mine", "favorites"} fmt.Fprintf(argvpb.Stdout, strings.Join(matches, " ")) + return } if pb.GetCmd() == "" { // these are base autocomplete strings -- cgit v1.2.3