diff options
| author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2024-06-26 23:32:02 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-26 23:32:02 +0000 |
| commit | 66f400ca378a412a7872987d2b8912d8c526bfe3 (patch) | |
| tree | d1ff017eeb6ecc8407d35e388c53078acd3c735c /src | |
| parent | Merge pull request #1434 from svenstaro/fix-ci (diff) | |
| parent | Fix typos in CLI (diff) | |
| download | miniserve-66f400ca378a412a7872987d2b8912d8c526bfe3.tar.gz miniserve-66f400ca378a412a7872987d2b8912d8c526bfe3.zip | |
Merge pull request #1436 from kaplanz/patch-1
Fix typos in CLI
Diffstat (limited to 'src')
| -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 20be079..dd09f65 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 be 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>>, |
