Convert resolvectl to option and verb macros (#41978)

This was one quite involved because some preparatory work was needed and
there are three parsers in the same binary.
This commit is contained in:
Daan De Meyer
2026-05-07 21:03:38 +02:00
committed by GitHub
3 changed files with 1324 additions and 1534 deletions
+2 -2
View File
@@ -200,9 +200,9 @@ int _verbs_get_help_table(
r = table_add_cell_stringf(table, NULL, " %s%s%s%s%s",
is_default ? "[" : "",
verb->verb,
is_default ? "]" : "",
verb->argspec ? " " : "",
strempty(verb->argspec));
strempty(verb->argspec),
is_default ? "]" : "");
if (r < 0)
return table_log_add_error(r);