aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorSven-Hendrik Haase <svenstaro@gmail.com>2019-02-16 20:40:19 +0000
committerGitHub <noreply@github.com>2019-02-16 20:40:19 +0000
commit9c4e46fa570e6e4498f3d9643cc4627705c53e5a (patch)
treecf4efcc073766edb3b1bb6529be4c3f0ae8ada83 /src/main.rs
parentAdd rsync to alpine image to allow for syncing files into it (diff)
parentUpdated README (diff)
downloadminiserve-9c4e46fa570e6e4498f3d9643cc4627705c53e5a.tar.gz
miniserve-9c4e46fa570e6e4498f3d9643cc4627705c53e5a.zip
Merge pull request #35 from boastful-squirrel/structopt
Switched to structopt
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 7c31976..378a4d0 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -16,11 +16,11 @@ mod listing;
pub struct MiniserveConfig {
/// Enable verbose mode
pub verbose: bool,
-
+
/// Path to be served by miniserve
pub path: std::path::PathBuf,
- /// Port on which miniserve will be listening
+ /// Port on which miniserve will be listening
pub port: u16,
/// IP address(es) on which miniserve will be available