diff --git a/main.go b/main.go index eebaf2f..6c5e835 100644 --- a/main.go +++ b/main.go @@ -85,6 +85,10 @@ const advancedUsage = `Advanced options: var Version string func main() { + if len(os.Args) == 1 { + fmt.Print(shortUsage) + return + } log.SetFlags(0) var ( installFlag = flag.Bool("install", false, "")