From 34c6e5035d4948882753ec044258cda2e00663c2 Mon Sep 17 00:00:00 2001 From: Quanzheng Long Date: Wed, 6 Jun 2018 11:14:43 -0700 Subject: [PATCH] Fix print event version in CLI (#821) --- tools/cli/commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cli/commands.go b/tools/cli/commands.go index d0caf1d30ed..cfeea639127 100644 --- a/tools/cli/commands.go +++ b/tools/cli/commands.go @@ -406,7 +406,7 @@ func showHistoryHelper(c *cli.Context, wid, rid string) { } if printVersion { - columns = append(columns, fmt.Sprintf("(Version: %v)", e.Version)) + columns = append(columns, fmt.Sprintf("(Version: %v)", *e.Version)) } columns = append(columns, ColorEvent(e), HistoryEventToString(e))