--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 {
|
} 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)
|
||||||
|
|
Loading…
Reference in New Issue