infra to synthesize program options with config options
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
59efabbbc2
commit
2fb43dd38d
4 changed files with 16 additions and 5 deletions
|
@ -33,7 +33,7 @@ fn main() -> Result<(), Error> {
|
|||
.build()
|
||||
.expect("built runtime");
|
||||
|
||||
let server: Arc<Server> = Server::build(args, Some(runtime.handle()))?;
|
||||
let server: Arc<Server> = Server::build(&args, Some(runtime.handle()))?;
|
||||
runtime.spawn(signal::signal(server.clone()));
|
||||
runtime.block_on(async_main(&server))?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue