--gui bash completion
This commit is contained in:
parent
02d34d3e55
commit
29f2084e25
4
argv.go
4
argv.go
|
@ -175,6 +175,8 @@ func DoAutoComplete(argv []string) {
|
|||
} else {
|
||||
fmt.Println("CUI GUI")
|
||||
}
|
||||
case "--gui":
|
||||
fmt.Println("andlabs gocui")
|
||||
case "list":
|
||||
fmt.Println("--mine --favorites --dirty")
|
||||
case "merge":
|
||||
|
@ -198,7 +200,7 @@ func DoAutoComplete(argv []string) {
|
|||
default:
|
||||
if argv[0] == ARGNAME {
|
||||
// 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)
|
||||
|
|
Loading…
Reference in New Issue