Browse Source

option_parser.cpp

passthrough-depth
Antonio SJ Musumeci 1 month ago
parent
commit
94bf1ef7dc
  1. 5
      src/option_parser.cpp

5
src/option_parser.cpp

@ -434,6 +434,11 @@ namespace options
state.mountpoint = state.branches.back(); state.mountpoint = state.branches.back();
state.branches.pop_back(); state.branches.pop_back();
_process_branches(cfg,
errs_,
str::join(state.branches,':').c_str());
if(cfg.branches->empty()) if(cfg.branches->empty())
errs_->push_back({0,"branches not set"}); errs_->push_back({0,"branches not set"});
if(cfg.mountpoint->empty()) if(cfg.mountpoint->empty())

Loading…
Cancel
Save