From 5cb63cc8e5bd1bb2c0e7411b1a9f08ae9f979ead Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Wed, 10 Aug 2022 17:39:48 +0200 Subject: [PATCH] Added version to the wasmer cli --- lib/cli/src/cli.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/cli/src/cli.rs b/lib/cli/src/cli.rs index 274db87a225..91cab70bb6d 100644 --- a/lib/cli/src/cli.rs +++ b/lib/cli/src/cli.rs @@ -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 ) )]