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

Function opt_version_and_exit

ccan/ccan/opt/helpers.c:181–187  ·  view source on GitHub ↗

Display version string. */

Source from the content-addressed store, hash-verified

179
180/* Display version string. */
181char *opt_version_and_exit(const char *version)
182{
183 printf("%s\n", version);
184 /* Don't have valgrind complain! */
185 opt_free_table();
186 exit(0);
187}
188
189char *opt_usage_and_exit(const char *extra)
190{

Callers

nothing calls this directly

Calls 1

opt_free_tableFunction · 0.85

Tested by

no test coverage detected