From 8137f64088e4a156aa44e7e95434b0f3b17fd103 Mon Sep 17 00:00:00 2001 From: duanlv Date: Mon, 20 Feb 2023 11:23:28 +0800 Subject: [PATCH] feat: version sub command --- entrypoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.go b/entrypoint.go index 9de903b..e5c7a7b 100644 --- a/entrypoint.go +++ b/entrypoint.go @@ -250,7 +250,7 @@ func showVersion() *cli.Command { os.Exit(1) return nil } - fmt.Printf("%v\n", info.Main) + fmt.Printf("%s\n", info.Main.Version) return nil }, }