mu: Make commands Result-based
Use Result<void> as the return value, simplifying some code.
This commit is contained in:
@ -48,7 +48,7 @@ show_fields(const MuConfig* opts)
|
||||
|
||||
Table fields;
|
||||
fields.add_row({"field-name", "alias", "short", "search",
|
||||
"value", "example", "description"});
|
||||
"value", "example query", "description"});
|
||||
|
||||
auto disp= [&](std::string_view sv)->std::string {
|
||||
if (sv.empty())
|
||||
|
||||
Reference in New Issue
Block a user