mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-01-24 13:13:16 -05:00
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:
parent
959defebca
commit
c5a4af15ff
@ -54,7 +54,7 @@ pub struct Args {
|
||||
db_dir: PathBuf,
|
||||
|
||||
/// 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))]
|
||||
ui_dir: std::path::PathBuf,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user