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

Function version_and_exit

common/version.c:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14static char *version_and_exit(const void *unused UNUSED)
15{
16 printf("%s\n", VERSION);
17 if (BUILD_FEATURES[0]) {
18 printf("Built with features: %s\n", BUILD_FEATURES);
19 }
20 exit(0);
21}
22
23void opt_register_version(void)
24{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected