do not return out of cb
parent
a84c1e5d84
commit
708aee4c44
|
@ -372,7 +372,6 @@ struct basic_arg_parser: arg_description_container {
|
||||||
opt.help(msg);
|
opt.help(msg);
|
||||||
opt.action([this, out = std::move(out)](auto) mutable {
|
opt.action([this, out = std::move(out)](auto) mutable {
|
||||||
this->print_help(out);
|
this->print_help(out);
|
||||||
return true;
|
|
||||||
});
|
});
|
||||||
return opt;
|
return opt;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue