aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 7956797..96a3986 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -73,7 +73,7 @@ fn main() {
};
let port: u16 = match opt_matches.opt_str("p") {
- Some(p) => p.parse().unwrap(),
+ Some(p) => p.parse().expect("Unable to parse specified port"),
None => DEFAULT_PORT,
};