diff options
author | Alec Di Vito <divito.alec@gmail.com> | 2024-06-06 23:08:47 +0000 |
---|---|---|
committer | Alec Di Vito <divito.alec@gmail.com> | 2024-06-06 23:08:47 +0000 |
commit | 1d8b6d8f1f45047e2908506c490d175a8c0a65aa (patch) | |
tree | c905c93da579a4f2e6caafe37ab5bb63c5161b6b /src/args.rs | |
parent | chore: update README.md with new option (diff) | |
download | miniserve-1d8b6d8f1f45047e2908506c490d175a8c0a65aa.tar.gz miniserve-1d8b6d8f1f45047e2908506c490d175a8c0a65aa.zip |
chore: clean up
Diffstat (limited to 'src/args.rs')
-rw-r--r-- | src/args.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/args.rs b/src/args.rs index a58504b..70ad208 100644 --- a/src/args.rs +++ b/src/args.rs @@ -162,7 +162,7 @@ pub struct CliArgs { /// The provided path is not a physical file system path. Instead, it's relative to the serve /// dir. For instance, if the serve dir is '/home/hello', set this to '/upload' to allow /// uploading to '/home/hello/upload'. - /// When specified via environment variable, a path always neesd to the specified. + /// When specified via environment variable, a path always needs to the specified. #[arg(short = 'u', long = "upload-files", value_hint = ValueHint::FilePath, num_args(0..=1), value_delimiter(','), env = "MINISERVE_ALLOWED_UPLOAD_DIR")] pub allowed_upload_dir: Option<Vec<PathBuf>>, |