| 1133 | } |
| 1134 | |
| 1135 | static char *list_features_and_exit(struct lightningd *ld) |
| 1136 | { |
| 1137 | const char **features = list_supported_features(tmpctx, ld->our_features); |
| 1138 | for (size_t i = 0; i < tal_count(features); i++) |
| 1139 | printf("%s\n", features[i]); |
| 1140 | printf("supports_open_accept_channel_type\n"); |
| 1141 | exit(0); |
| 1142 | } |
| 1143 | |
| 1144 | static char *opt_lightningd_usage(struct lightningd *ld) |
| 1145 | { |
nothing calls this directly
no test coverage detected