| 413 | } |
| 414 | |
| 415 | static bool opt_show_rgb(char *buf, size_t len, const struct lightningd *ld) |
| 416 | { |
| 417 | /* Can happen with -h! */ |
| 418 | if (!ld->rgb) |
| 419 | return false; |
| 420 | /* This is always set; if not by arg, then by default */ |
| 421 | hex_encode(ld->rgb, 3, buf, len); |
| 422 | return true; |
| 423 | } |
| 424 | |
| 425 | static char *opt_set_rgb(const char *arg, struct lightningd *ld) |
| 426 | { |
nothing calls this directly
no test coverage detected