Skip to content

Commit 9add17b

Browse files
committed
Rename flag
1 parent 08246c6 commit 9add17b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

rocketpool-cli/megapool/commands.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ func RegisterCommands(app *cli.Command, name string, aliases []string) {
278278
Usage: "Automatically confirm the action",
279279
},
280280
&cli.BoolFlag{
281-
Name: "fetch-estimate",
281+
Name: "estimate-exit",
282282
Usage: "Fetch an estimate of the beacon chain exit queue time",
283283
},
284284
&cli.Uint64Flag{
@@ -297,7 +297,7 @@ func RegisterCommands(app *cli.Command, name string, aliases []string) {
297297
if !c.IsSet("validator-id") {
298298
var err error
299299
var found bool
300-
validatorId, found, err = getExitableValidator(c.Bool("fetch-estimate"))
300+
validatorId, found, err = getExitableValidator(c.Bool("estimate-exit"))
301301
if err != nil {
302302
return err
303303
}

rocketpool-cli/megapool/exit-validator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func getExitableValidator(fetchExitQueueEstimate bool) (uint64, bool, error) {
122122
formatGwei(estimate.ChurnPerEpochGwei), estimate.EstimatedQueueEpochs, wait)
123123
}
124124
} else {
125-
fmt.Println("Skipping the beacon chain exit queue estimate. Use the --fetch-estimate flag to fetch it.")
125+
fmt.Println("Skipping the beacon chain exit queue estimate. Use the --estimate-exit flag to fetch it.")
126126
fmt.Println()
127127
}
128128

0 commit comments

Comments
 (0)