diff --git a/src/main.rs b/src/main.rs index 9e269f8..7c49673 100644 --- a/src/main.rs +++ b/src/main.rs @@ -23,10 +23,12 @@ const DEFAULT_DATABASE_PATH: &'static str = "/var/lib/noise-server/noise-server. #[derive(Debug, StructOpt)] struct Options { - #[structopt(short, long, default_value = "/etc/noise-server/config.toml")] + /// Path to config + #[structopt(short, long, value_name = "path", default_value = "/etc/noise-server/config.toml")] config: PathBuf, - #[structopt(short, long, default_value = DEFAULT_DATABASE_PATH)] + /// Path to database + #[structopt(short, long, value_name = "path", default_value = DEFAULT_DATABASE_PATH)] database_path: PathBuf, }