| 441 | } |
| 442 | |
| 443 | static bool opt_show_alias(char *buf, size_t len, const struct lightningd *ld) |
| 444 | { |
| 445 | /* Can happen with -h! */ |
| 446 | if (!ld->alias) |
| 447 | return false; |
| 448 | |
| 449 | strncpy(buf, cast_signed(const char *, ld->alias), len); |
| 450 | return true; |
| 451 | } |
| 452 | |
| 453 | static char *opt_set_alias(const char *arg, struct lightningd *ld) |
| 454 | { |
nothing calls this directly
no outgoing calls
no test coverage detected