Add websocket config to CLI

This commit is contained in:
Paul Hauner
2019-09-14 22:57:46 -04:00
parent da26341011
commit 9c5eded1ab
6 changed files with 74 additions and 21 deletions

View File

@@ -173,6 +173,7 @@ impl Config {
self.network.apply_cli_args(args)?;
self.rpc.apply_cli_args(args)?;
self.rest_api.apply_cli_args(args)?;
self.websocket_server.apply_cli_args(args)?;
if let Some(log_file) = args.value_of("logfile") {
self.log_file = PathBuf::from(log_file);