Add deprecation warning for omitting --host

This commit is contained in:
Daan Sprenkels 2019-12-15 17:08:32 +05:30
parent 8cbe984ba4
commit f32e47b4c8

View File

@ -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,