option_parser.cpp

This commit is contained in:
Antonio SJ Musumeci 2025-10-02 19:10:58 -05:00
parent 14ef951f87
commit 94bf1ef7dc

View file

@ -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())