diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2020-03-11 18:27:10 +0000 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2020-03-11 18:27:10 +0000 |
commit | 27cb41d4ffece4867b23065a6602ed9b8843c418 (patch) | |
tree | 2053dcb3f49e3887edf9ade7eb07da7ecdc0bc65 /src/args.rs | |
parent | Update CHANGELOG.md (diff) | |
download | miniserve-27cb41d4ffece4867b23065a6602ed9b8843c418.tar.gz miniserve-27cb41d4ffece4867b23065a6602ed9b8843c418.zip |
Format everything
Diffstat (limited to 'src/args.rs')
-rw-r--r-- | src/args.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/args.rs b/src/args.rs index 78340dd..49fe276 100644 --- a/src/args.rs +++ b/src/args.rs @@ -31,7 +31,7 @@ struct CLIArgs { /// /// Normally, when miniserve serves a directory, it creates a listing for that directory. /// However, if a directory contains this file, miniserve will serve that file instead. - #[structopt(long, parse(from_os_str), name="index_file")] + #[structopt(long, parse(from_os_str), name = "index_file")] index: Option<PathBuf>, /// Port to use @@ -83,7 +83,7 @@ struct CLIArgs { /// Enable overriding existing files during file upload #[structopt(short = "o", long = "overwrite-files")] overwrite_files: bool, - + /// Disable archive generation #[structopt(short = "r", long = "disable-archives")] disable_archives: bool, |