From f7d50458766cefbac021b5cb95448b1e4fe00a64 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Wed, 13 Jul 2022 10:22:17 +0300 Subject: [PATCH] [#1592] neofs-lens: Add `--version` flag Signed-off-by: Evgenii Stratonikov --- cmd/neofs-lens/root.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/neofs-lens/root.go b/cmd/neofs-lens/root.go index b82df64f32..47784423e7 100644 --- a/cmd/neofs-lens/root.go +++ b/cmd/neofs-lens/root.go @@ -30,6 +30,7 @@ func entryPoint(cmd *cobra.Command, _ []string) error { } func init() { + command.Flags().Bool("version", false, "application version") command.AddCommand( cmdlist.Command, inspect.Command,