From 27cb41d4ffece4867b23065a6602ed9b8843c418 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Wed, 11 Mar 2020 19:27:10 +0100 Subject: Format everything --- src/args.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/args.rs') 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, /// 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, -- cgit v1.2.3