From eb029116b0a0bf15523b43a3eacf99d339546962 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sun, 25 Jun 2017 01:20:04 +0100 Subject: [PATCH] trivial fix to actually parse fed-api-server's CLI args --- .../dendrite/cmd/dendrite-federation-api-server/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/github.com/matrix-org/dendrite/cmd/dendrite-federation-api-server/main.go b/src/github.com/matrix-org/dendrite/cmd/dendrite-federation-api-server/main.go index f9576ce9..f4f19cdc 100644 --- a/src/github.com/matrix-org/dendrite/cmd/dendrite-federation-api-server/main.go +++ b/src/github.com/matrix-org/dendrite/cmd/dendrite-federation-api-server/main.go @@ -38,6 +38,8 @@ var ( func main() { common.SetupLogging(logDir) + flag.Parse() + if *configPath == "" { log.Fatal("--config must be supplied") }