| 2180 | } |
| 2181 | |
| 2182 | static 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 | |
| 2197 | int main(int argc, char *argv[]) |
| 2198 | { |
nothing calls this directly
no test coverage detected