Skip to content

Commit

Permalink
Make --handler a required parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdalmo committed Dec 12, 2018
1 parent 65305aa commit 3ffe1fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/lifecycled/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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").
Expand Down

0 comments on commit 3ffe1fa

Please sign in to comment.