up alias
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
This commit is contained in:
parent
d81fbc64ef
commit
b327d998c9
2
main.go
2
main.go
@ -18,7 +18,7 @@ func main() {
|
|||||||
if len(os.Args) < 2 {
|
if len(os.Args) < 2 {
|
||||||
fmt.Println("provide a command")
|
fmt.Println("provide a command")
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
} else if os.Args[1] == "upgrade" {
|
} else if os.Args[1] == "upgrade" || os.Args[1] == "up" {
|
||||||
fmt.Print("Trying Upgrade... ")
|
fmt.Print("Trying Upgrade... ")
|
||||||
err := update(gitTag)
|
err := update(gitTag)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user