Fix build issue, add servePort project option

This commit is contained in:
Lucien Greathouse
2019-01-04 13:40:10 -08:00
parent 9cfeee0577
commit 64e2ef3d3b
4 changed files with 8 additions and 6 deletions

View File

@@ -65,7 +65,7 @@ fn main() {
let port = match sub_matches.value_of("port") {
Some(v) => match v.parse::<u16>() {
Ok(port) => port,
Ok(port) => Some(port),
Err(_) => {
error!("Invalid port {}", v);
process::exit(1);