diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2019-02-16 20:40:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-16 20:40:19 +0000 |
commit | 9c4e46fa570e6e4498f3d9643cc4627705c53e5a (patch) | |
tree | cf4efcc073766edb3b1bb6529be4c3f0ae8ada83 /src/main.rs | |
parent | Add rsync to alpine image to allow for syncing files into it (diff) | |
parent | Updated README (diff) | |
download | miniserve-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.rs | 4 |
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 |