mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
Derive --version output dynamically from cargo package version (#2937)
This commit is contained in:
parent
e6bdc5987c
commit
b377d4cb4e
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue