diff options
author | Till Hoeppner | 2015-09-24 08:08:41 +0200 |
---|---|---|
committer | Till Hoeppner | 2015-09-24 08:08:41 +0200 |
commit | 9e961c2295f6c8010aeedf7e55f4049293207b7d (patch) | |
tree | cde83294fc8574f8321b7b4a71099030cf6d441d /README.md | |
parent | bcc686c84cbcae831aeacc3c9e17b8eaf495353a (diff) | |
download | sersve-9e961c2295f6c8010aeedf7e55f4049293207b7d.tar.gz sersve-9e961c2295f6c8010aeedf7e55f4049293207b7d.tar.xz sersve-9e961c2295f6c8010aeedf7e55f4049293207b7d.zip |
Fixed for updates
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 24 |
1 files changed, 13 insertions, 11 deletions
@@ -18,18 +18,20 @@ target/release/sersve # target/sersve respectively ## Options ``` -Usage: target/release/sersve [options] -A minimal directory server, written in Rust with Iron. +A minimal static file server, written in Rust with Iron. +Usage: sersve [options] Options: - -c --config NAME set config file name - -a --address HOST the address to bind to - -p --port PORT the port to serve - -r --root ROOT the uppermost directory to serve - -f --filter REGEX a regular expression to filter the filenames - -s --size BYTES the maximum size of a file that will be served - -t --template TEMPLATE - a mustache template to use for rendering - -h --help print this help menu + -h, --help Show this message. + -v, --version Show the version of sersve (duh). + -c, --config FILE Provide a configuration file (JSON). + -a, --address HOST The address to bind to. + -p, --port PORT The port to serve. + -r, --root ROOT The uppermost directory to serve. + -f, --filter REGEX A regular expression to filter the filenames. + -s, --size BYTES The maximum size of a file that will be served. + -t, --template TEMPLATE A Mustache template to use for rendering. + --threads THREADS Amount of threads to use for serving. + --fork Fork sersve into a background process. ``` ## Configuration format |