Correctly gen version

This commit is contained in:
Aditya Kulkarni
2020-04-30 17:57:01 -07:00
parent 703192f45b
commit f50b86ed1e
6 changed files with 11 additions and 4 deletions

View File

@@ -8,10 +8,12 @@ use zecwalletlitelib::{commands,
lightclient::{LightClient, LightClientConfig},
};
pub mod version;
#[macro_export]
macro_rules! configure_clapapp {
( $freshapp: expr ) => {
$freshapp.version("1.0.0")
$freshapp.version(VERSION)
.arg(Arg::with_name("dangerous")
.long("dangerous")
.help("Disable server TLS certificate verification. Use this if you're running a local lightwalletd with a self-signed certificate. WARNING: This is dangerous, don't use it with a server that is not your own.")