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()