mirror of
https://github.com/fluencelabs/wasm-utils
synced 2025-03-15 19:20:48 +00:00
Merge pull request #115 from holygits/add-clap-version
Fix '-V/--version' output [EOM]
This commit is contained in:
commit
b1fbd2921e
@ -1,8 +1,9 @@
|
|||||||
//! Experimental build tool for cargo
|
//! Experimental build tool for cargo
|
||||||
|
|
||||||
|
#[macro_use]
|
||||||
|
extern crate clap;
|
||||||
extern crate glob;
|
extern crate glob;
|
||||||
extern crate pwasm_utils as utils;
|
extern crate pwasm_utils as utils;
|
||||||
extern crate clap;
|
|
||||||
extern crate parity_wasm;
|
extern crate parity_wasm;
|
||||||
extern crate pwasm_utils_cli as logger;
|
extern crate pwasm_utils_cli as logger;
|
||||||
|
|
||||||
@ -69,6 +70,7 @@ fn do_main() -> Result<(), Error> {
|
|||||||
logger::init_log();
|
logger::init_log();
|
||||||
|
|
||||||
let matches = App::new("wasm-build")
|
let matches = App::new("wasm-build")
|
||||||
|
.version(crate_version!())
|
||||||
.arg(Arg::with_name("target")
|
.arg(Arg::with_name("target")
|
||||||
.index(1)
|
.index(1)
|
||||||
.required(true)
|
.required(true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user