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")
|
||||
case "debian":
|
||||
fmt.Println("--dry-run")
|
||||
case "upgrade":
|
||||
fmt.Println("--dry-run")
|
||||
case "build":
|
||||
fmt.Println("--verbose")
|
||||
case "install":
|
||||
|
@ -29,7 +31,7 @@ func (args) doBashAuto() {
|
|||
default:
|
||||
if strings.HasSuffix(argv.BashAuto[0], ARGNAME) {
|
||||
// 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)
|
||||
|
|
Loading…
Reference in New Issue