diff --git a/main.go b/main.go index d9d7188..9fa925f 100644 --- a/main.go +++ b/main.go @@ -164,7 +164,7 @@ func getAppImageURL(hostname string, token string, appID int) (string, error) { func parseArgs() (string, string) { - if len(os.Args) < 2 { + if len(os.Args) < 3 { fmt.Println("Usage: gotify-dektop ") os.Exit(1) }