From af630b0a08ec80506aab93ac4f0e9b5ce358cf4d Mon Sep 17 00:00:00 2001 From: David Date: Wed, 24 Apr 2024 21:19:55 +0800 Subject: [PATCH] feat(driver): rename a flag --- cmd/flags/driver.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/flags/driver.go b/cmd/flags/driver.go index 8c17c510d..b29aa7174 100644 --- a/cmd/flags/driver.go +++ b/cmd/flags/driver.go @@ -9,12 +9,12 @@ import ( // Optional flags used by driver. var ( P2PSyncVerifiedBlocks = &cli.BoolFlag{ - Name: "p2p.syncVerifiedBlocks", - Usage: "Try P2P syncing verified blocks between L2 execution engines, " + + Name: "p2p.sync", + Usage: "Try P2P syncing blocks between L2 execution engines, " + "will be helpful to bring a new node online quickly", Value: false, Category: driverCategory, - EnvVars: []string{"P2P_SYNC_VERIFIED_BLOCKS"}, + EnvVars: []string{"P2P_SYNC"}, } P2PSyncTimeout = &cli.DurationFlag{ Name: "p2p.syncTimeout",