Skip to content

Commit 78679d7

Browse files
committed
fix: p2p query conflicting a shorthand
1 parent 7b71a4a commit 78679d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/p2p/query/query.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func init() {
127127
QueryCmd.Flags().Uint64VarP(&inputQueryParams.StartBlock, "start-block", "s", 0, "Block number to start querying from")
128128
QueryCmd.Flags().Uint64VarP(&inputQueryParams.Amount, "amount", "a", 1, "Amount of blocks to query")
129129
QueryCmd.Flags().IntVarP(&inputQueryParams.Port, "port", "P", 30303, "Port for discovery protocol")
130-
QueryCmd.Flags().IPVarP(&inputQueryParams.Addr, "addr", "a", net.ParseIP("127.0.0.1"), "Address to bind discovery listener")
130+
QueryCmd.Flags().IPVar(&inputQueryParams.Addr, "addr", net.ParseIP("127.0.0.1"), "Address to bind discovery listener")
131131
QueryCmd.Flags().StringVarP(&inputQueryParams.KeyFile, "key-file", "k", "", "Private key file (cannot be set with --key)")
132132
QueryCmd.Flags().StringVar(&inputQueryParams.PrivateKey, "key", "", "Hex-encoded private key (cannot be set with --key-file)")
133133
QueryCmd.MarkFlagsMutuallyExclusive("key-file", "key")

0 commit comments

Comments
 (0)