diff --git a/src/bin/grin-wallet.rs b/src/bin/grin-wallet.rs index 5f31dd73..62da7aee 100644 --- a/src/bin/grin-wallet.rs +++ b/src/bin/grin-wallet.rs @@ -67,7 +67,9 @@ fn main() { fn real_main() -> i32 { let yml = load_yaml!("grin-wallet.yml"); - let args = App::from_yaml(yml).get_matches(); + let args = App::from_yaml(yml) + .version(built_info::PKG_VERSION) + .get_matches(); let chain_type = if args.is_present("floonet") { global::ChainTypes::Floonet diff --git a/src/bin/grin-wallet.yml b/src/bin/grin-wallet.yml index 4dfd1d0a..77c8a56f 100644 --- a/src/bin/grin-wallet.yml +++ b/src/bin/grin-wallet.yml @@ -1,5 +1,4 @@ name: grin-wallet -version: "2.0.0-beta.2" about: Reference Grin Wallet author: The Grin Team