diff options
Diffstat (limited to 'argv.custom.go')
| -rw-r--r-- | argv.custom.go | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
