Added version to the wasmer cli

This commit is contained in:
Syrus Akbary
2022-08-10 17:39:48 +02:00
parent b3c3df04ff
commit 5cb63cc8e5

View File

@@ -19,13 +19,19 @@ use clap::{ErrorKind, Parser};
#[derive(Parser)]
#[cfg_attr(
not(feature = "headless"),
clap(name = "wasmer", about = "WebAssembly standalone runtime.", author)
clap(
name = "wasmer",
about = "WebAssembly standalone runtime.",
version,
author
)
)]
#[cfg_attr(
feature = "headless",
clap(
name = "wasmer-headless",
about = "Headless WebAssembly standalone runtime.",
about = "WebAssembly standalone runtime (headless).",
version,
author
)
)]