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:
+2
-2
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user