Derive --version output dynamically from cargo package version (#2937)
This commit is contained in:
+3
-1
@@ -70,7 +70,9 @@ fn main() {
|
||||
|
||||
fn real_main() -> i32 {
|
||||
let yml = load_yaml!("grin.yml");
|
||||
let args = App::from_yaml(yml).get_matches();
|
||||
let args = App::from_yaml(yml)
|
||||
.version(built_info::PKG_VERSION)
|
||||
.get_matches();
|
||||
let node_config;
|
||||
|
||||
// Temporary wallet warning message
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
name: grin
|
||||
version: "2.0.1-beta.1"
|
||||
about: Lightweight implementation of the MimbleWimble protocol.
|
||||
author: The Grin Team
|
||||
|
||||
|
||||
Reference in New Issue
Block a user