Skip to content

Commit b672734

Browse files
committed
fix: remove duplicate listen flag
1 parent 3bfcc3e commit b672734

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cmd/p2p/ping/ping.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,6 @@ func init() {
155155
PingCmd.Flags().IntVarP(&inputPingParams.Threads, "parallel", "p", 16, "How many parallel pings to attempt")
156156
PingCmd.Flags().BoolVarP(&inputPingParams.Listen, "listen", "l", true,
157157
`Keep the connection open and listen to the peer. This only works if the first
158-
argument is an enode/enr, not a nodes file.`)
159-
PingCmd.Flags().BoolVarP(&inputPingParams.Listen, "listen", "l", true,
160-
`Keep the connection open and listen to the peer. This only works if the first
161158
argument is an enode/enr, not a nodes file.`)
162159
PingCmd.Flags().BoolVarP(&inputPingParams.EnableWit, "wit", "w", false, "Whether to enable the wit/1 capability")
163160
PingCmd.Flags().IntVarP(&inputPingParams.Port, "port", "P", 30303, "Port for discovery protocol")

0 commit comments

Comments
 (0)