aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/args.rs2
-rw-r--r--src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/args.rs b/src/args.rs
index d31cb26..0d4e3ce 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -27,7 +27,7 @@ struct CLIArgs {
#[structopt(name = "PATH", parse(from_os_str))]
path: Option<PathBuf>,
- /// name of an index files to serve by default
+ /// name of an index file to serve by default
#[structopt(long, parse(from_os_str), name="index_file")]
index: Option<PathBuf>,
diff --git a/src/main.rs b/src/main.rs
index d5055b9..3bb521c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -52,7 +52,7 @@ pub struct MiniserveConfig {
/// Default color scheme
pub default_color_scheme: themes::ColorScheme,
- /// name of an index files to serve by default
+ /// name of an index file to serve by default
pub index: Option<std::path::PathBuf>,
/// Enable file upload