Version number, name, and build details.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2015-08-08 20:45:49 +09:30
parent 6883d28f6d
commit 1cb147c5b8
25 changed files with 74 additions and 3 deletions

View File

@@ -20,6 +20,7 @@
#include "protobuf_convert.h"
#include "test-cli/gather_updates.h"
#include "funding.h"
#include "version.h"
#include <unistd.h>
int main(int argc, char *argv[])
@@ -49,6 +50,7 @@ int main(int argc, char *argv[])
opt_register_arg("--fee=<bits>",
opt_set_bits, opt_show_bits, &fee,
"100's of satoshi to pay in transaction fee");
opt_register_version();
opt_parse(&argc, argv, opt_log_stderr_exit);