fix: flag names (#233)

This commit is contained in:
Richard Ramos 2022-05-04 17:42:28 -04:00 committed by GitHub
parent 3a0fc81889
commit 386d59747a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -22,7 +22,8 @@ func main() {
Destination: &options.Port,
},
&cli.StringFlag{
Name: "address",
Name: "listen-address",
Aliases: []string{"address"},
Value: "0.0.0.0",
Usage: "Listening address",
Destination: &options.Address,
@ -140,7 +141,8 @@ func main() {
Destination: &options.Relay.Topics,
},
&cli.BoolFlag{
Name: "peer-exchange",
Name: "relay-peer-exchange",
Aliases: []string{"peer-exchange"},
Value: true,
Usage: "Enable GossipSub Peer Exchange",
Destination: &options.Relay.PeerExchange,