fix --ui-dir parsing

Thanks Jack Challen for reporting the breakage:
https://groups.google.com/g/moonfire-nvr-users/c/WB-TIW3bBZI/m/Gqh-L6I9BgAJ
This commit is contained in:
Scott Lamb 2020-07-17 20:08:33 -07:00
parent 959defebca
commit c5a4af15ff

View File

@ -54,7 +54,7 @@ pub struct Args {
db_dir: PathBuf, db_dir: PathBuf,
/// Directory holding user interface files (.html, .js, etc). /// Directory holding user interface files (.html, .js, etc).
#[structopt(default_value = "/usr/local/lib/moonfire-nvr/ui", value_name="path", #[structopt(long, default_value = "/usr/local/lib/moonfire-nvr/ui", value_name="path",
parse(from_os_str))] parse(from_os_str))]
ui_dir: std::path::PathBuf, ui_dir: std::path::PathBuf,