| 905 | } |
| 906 | |
| 907 | static char *list_features_and_exit(struct lightningd *ld) |
| 908 | { |
| 909 | const char **features = list_supported_features(tmpctx, ld->our_features); |
| 910 | for (size_t i = 0; i < tal_count(features); i++) |
| 911 | printf("%s\n", features[i]); |
| 912 | #if EXPERIMENTAL_FEATURES |
| 913 | printf("supports_open_accept_channel_type\n"); |
| 914 | #endif |
| 915 | exit(0); |
| 916 | } |
| 917 | |
| 918 | static char *opt_lightningd_usage(struct lightningd *ld) |
| 919 | { |
nothing calls this directly
no test coverage detected