From f7a006d74ec8f24846269dcb514a00c06d51cabb Mon Sep 17 00:00:00 2001 From: dvkt Date: Sat, 28 Dec 2019 13:31:45 -0800 Subject: [PATCH] default to serving cwd --- src/main.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index c2fb7f6..b0763bd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,11 +3,6 @@ use std::process; fn main() { let args: Vec = std::env::args().collect(); - if args.len() < 2 { - print_help(); - return; - } - let mut root = "."; let mut iter = args.iter(); let mut host = "localhost";