mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
option_parser.cpp
This commit is contained in:
parent
14ef951f87
commit
94bf1ef7dc
1 changed files with 5 additions and 0 deletions
|
|
@ -434,6 +434,11 @@ namespace options
|
|||
state.mountpoint = state.branches.back();
|
||||
state.branches.pop_back();
|
||||
|
||||
_process_branches(cfg,
|
||||
errs_,
|
||||
str::join(state.branches,':').c_str());
|
||||
|
||||
|
||||
if(cfg.branches->empty())
|
||||
errs_->push_back({0,"branches not set"});
|
||||
if(cfg.mountpoint->empty())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue