MCPcopy Create free account
hub / github.com/ElementsProject/lightning / print_one_table

Function print_one_table

plugins/sql.c:2182–2195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2180}
2181
2182static bool print_one_table(const char *member,
2183 struct table_desc *td,
2184 void *unused)
2185{
2186 if (td->parent)
2187 return true;
2188
2189 printf("- `%s`%s (see lightning-%s(7))\n",
2190 member, fmt_indexes(tmpctx, member), td->cmdname);
2191
2192 print_columns(td, " ", "");
2193 printf("\n");
2194 return true;
2195}
2196
2197int main(int argc, char *argv[])
2198{

Callers

nothing calls this directly

Calls 2

fmt_indexesFunction · 0.85
print_columnsFunction · 0.85

Tested by

no test coverage detected