| 1146 | } |
| 1147 | |
| 1148 | static char *list_features_and_exit(struct lightningd *ld) |
| 1149 | { |
| 1150 | const char **features = list_supported_features(tmpctx, ld->our_features); |
| 1151 | for (size_t i = 0; i < tal_count(features); i++) |
| 1152 | printf("%s\n", features[i]); |
| 1153 | printf("supports_open_accept_channel_type\n"); |
| 1154 | exit(0); |
| 1155 | } |
| 1156 | |
| 1157 | static char *opt_lightningd_usage(struct lightningd *ld) |
| 1158 | { |
nothing calls this directly
no test coverage detected