From 36e4933752e1339d7d1931ee3ac17b18bffd69f1 Mon Sep 17 00:00:00 2001 From: Adam Tucker Date: Thu, 28 Apr 2022 19:22:11 +0000 Subject: [PATCH] group vars --- tests/e2e/chain_init/main.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/e2e/chain_init/main.go b/tests/e2e/chain_init/main.go index d11042d6771..509d40fec08 100644 --- a/tests/e2e/chain_init/main.go +++ b/tests/e2e/chain_init/main.go @@ -10,8 +10,11 @@ import ( ) func main() { - var dataDir string - var chainId string + var ( + dataDir string + chainId string + ) + flag.StringVar(&dataDir, "data-dir", "", "chain data directory") flag.StringVar(&chainId, "chain-id", "", "chain ID") flag.Parse()