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

Function opt_log_stderr_exit_usage

tools/lightning-downgrade.c:190–199  ·  view source on GitHub ↗

The standard opt_log_stderr_exit exits with status 1 */

Source from the content-addressed store, hash-verified

188
189/* The standard opt_log_stderr_exit exits with status 1 */
190static void opt_log_stderr_exit_usage(const char *fmt, ...)
191{
192 va_list ap;
193
194 va_start(ap, fmt);
195 vfprintf(stderr, fmt, ap);
196 fprintf(stderr, "\n");
197 va_end(ap);
198 exit(ERROR_USAGE);
199}
200
201int main(int argc, char *argv[])
202{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected