From f32e47b4c830e9ddaeb8fd2efb4fb52fedef0bbb Mon Sep 17 00:00:00 2001 From: Daan Sprenkels Date: Sun, 15 Dec 2019 17:08:32 +0530 Subject: [PATCH] Add deprecation warning for omitting --host --- router.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/router.go b/router.go index 33ef50f..4330f5a 100644 --- a/router.go +++ b/router.go @@ -87,6 +87,8 @@ func StartMainServer(addr string, db *db.Database, fs *db.FileStore, rawhost *st if err != nil { log.Fatalln(errors.Wrap(err, "could not parse host flag")) } + } else { + log.Println("warning: the --host flag will be required in the future") } rl := rushlink{ db: db, -- 2.46.0