MCPcopy Create free account
hub / github.com/ElementsProject/lightning / opt_log_stderr_exit_usage

Function opt_log_stderr_exit_usage

cli/lightning-cli.c:598–607  ·  view source on GitHub ↗

The standard opt_log_stderr_exit exits with status 1 */

Source from the content-addressed store, hash-verified

596
597/* The standard opt_log_stderr_exit exits with status 1 */
598static void opt_log_stderr_exit_usage(const char *fmt, ...)
599{
600 va_list ap;
601
602 va_start(ap, fmt);
603 vfprintf(stderr, fmt, ap);
604 fprintf(stderr, "\n");
605 va_end(ap);
606 exit(ERROR_USAGE);
607}
608
609struct commando {
610 const char *peer_id;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected