From 1e68a862f8076e0d26af65ca810844e62a78e1e1 Mon Sep 17 00:00:00 2001 From: holygits Date: Tue, 26 Feb 2019 16:43:33 +1300 Subject: [PATCH] Fix '-V/--version' output --- cli/build/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/build/main.rs b/cli/build/main.rs index d52d4b1..b32ed02 100644 --- a/cli/build/main.rs +++ b/cli/build/main.rs @@ -1,8 +1,9 @@ //! Experimental build tool for cargo +#[macro_use] +extern crate clap; extern crate glob; extern crate pwasm_utils as utils; -extern crate clap; extern crate parity_wasm; extern crate pwasm_utils_cli as logger; @@ -69,6 +70,7 @@ fn do_main() -> Result<(), Error> { logger::init_log(); let matches = App::new("wasm-build") + .version(crate_version!()) .arg(Arg::with_name("target") .index(1) .required(true)