From 3ffe1fa8ba5948c77776d56bde0511ef3e922c1a Mon Sep 17 00:00:00 2001 From: itsdalmo Date: Wed, 12 Dec 2018 10:37:42 +0100 Subject: [PATCH] Make --handler a required parameter --- cmd/lifecycled/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/lifecycled/main.go b/cmd/lifecycled/main.go index 39f451e..f9b8c6e 100644 --- a/cmd/lifecycled/main.go +++ b/cmd/lifecycled/main.go @@ -50,6 +50,7 @@ func main() { BoolVar(&disableSpotListener) app.Flag("handler", "The script to invoke to handle events"). + Required(). FileVar(&handler) app.Flag("json", "Enable JSON logging").