--gui bash completion

This commit is contained in:
Jeff Carr 2025-09-16 17:33:57 -05:00
parent 02d34d3e55
commit 29f2084e25
1 changed files with 3 additions and 1 deletions

View File

@ -175,6 +175,8 @@ func DoAutoComplete(argv []string) {
} else { } else {
fmt.Println("CUI GUI") fmt.Println("CUI GUI")
} }
case "--gui":
fmt.Println("andlabs gocui")
case "list": case "list":
fmt.Println("--mine --favorites --dirty") fmt.Println("--mine --favorites --dirty")
case "merge": case "merge":
@ -198,7 +200,7 @@ func DoAutoComplete(argv []string) {
default: default:
if argv[0] == ARGNAME { if argv[0] == ARGNAME {
// list the subcommands here // list the subcommands here
fmt.Println("help list checkout clean commit dirty fetch gui normal merge patch pull tag") fmt.Println("help list checkout clean commit dirty fetch gui normal merge patch pull tag --gui")
} }
} }
os.Exit(0) os.Exit(0)