fix autocomplete 'upgrade'
This commit is contained in:
parent
14fc461af8
commit
6e7049f4a8
|
@ -20,6 +20,8 @@ func (args) doBashAuto() {
|
||||||
fmt.Println("--all --mine --favorites --private")
|
fmt.Println("--all --mine --favorites --private")
|
||||||
case "debian":
|
case "debian":
|
||||||
fmt.Println("--dry-run")
|
fmt.Println("--dry-run")
|
||||||
|
case "upgrade":
|
||||||
|
fmt.Println("--dry-run")
|
||||||
case "build":
|
case "build":
|
||||||
fmt.Println("--verbose")
|
fmt.Println("--verbose")
|
||||||
case "install":
|
case "install":
|
||||||
|
@ -29,7 +31,7 @@ func (args) doBashAuto() {
|
||||||
default:
|
default:
|
||||||
if strings.HasSuffix(argv.BashAuto[0], ARGNAME) {
|
if strings.HasSuffix(argv.BashAuto[0], ARGNAME) {
|
||||||
// list the subcommands here
|
// list the subcommands here
|
||||||
fmt.Println("--bash list build debian install repomap-clone")
|
fmt.Println("--bash list build debian install repomap-clone upgrade")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
|
|
Loading…
Reference in New Issue