mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-01 05:14:29 +01:00
Version number, name, and build details.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
#include "opt_bits.h"
|
||||
#include "version.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
@@ -44,6 +45,7 @@ int main(int argc, char *argv[])
|
||||
"<open-channel-file1> <open-channel-file2> <anchor-tx-file> <commit-privkey1>\n"
|
||||
"A test program to output open_anchor message on stdout.",
|
||||
"Print this message.");
|
||||
opt_register_version();
|
||||
|
||||
opt_parse(&argc, argv, opt_log_stderr_exit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user