diff options
Diffstat (limited to 'src/args.rs')
-rw-r--r-- | src/args.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/args.rs b/src/args.rs index 7fa5121..bb52824 100644 --- a/src/args.rs +++ b/src/args.rs @@ -53,8 +53,8 @@ struct CLIArgs { file_upload: bool, /// Enable overriding existing files during file upload - #[structopt(short = "o", long = "owerride-files")] - override_files: bool, + #[structopt(short = "o", long = "overwrite-files")] + overwrite_files: bool, } /// Checks wether an interface is valid, i.e. it can be parsed into an IP address @@ -108,7 +108,7 @@ pub fn parse_args() -> crate::MiniserveConfig { path_explicitly_chosen, no_symlinks: args.no_symlinks, random_route, - override_files: args.override_files, + overwrite_files: args.overwrite_files, file_upload: args.file_upload, } } |