mirror of https://github.com/status-im/go-waku.git
fix: flag names (#233)
This commit is contained in:
parent
3a0fc81889
commit
386d59747a
6
waku.go
6
waku.go
|
@ -22,7 +22,8 @@ func main() {
|
||||||
Destination: &options.Port,
|
Destination: &options.Port,
|
||||||
},
|
},
|
||||||
&cli.StringFlag{
|
&cli.StringFlag{
|
||||||
Name: "address",
|
Name: "listen-address",
|
||||||
|
Aliases: []string{"address"},
|
||||||
Value: "0.0.0.0",
|
Value: "0.0.0.0",
|
||||||
Usage: "Listening address",
|
Usage: "Listening address",
|
||||||
Destination: &options.Address,
|
Destination: &options.Address,
|
||||||
|
@ -140,7 +141,8 @@ func main() {
|
||||||
Destination: &options.Relay.Topics,
|
Destination: &options.Relay.Topics,
|
||||||
},
|
},
|
||||||
&cli.BoolFlag{
|
&cli.BoolFlag{
|
||||||
Name: "peer-exchange",
|
Name: "relay-peer-exchange",
|
||||||
|
Aliases: []string{"peer-exchange"},
|
||||||
Value: true,
|
Value: true,
|
||||||
Usage: "Enable GossipSub Peer Exchange",
|
Usage: "Enable GossipSub Peer Exchange",
|
||||||
Destination: &options.Relay.PeerExchange,
|
Destination: &options.Relay.PeerExchange,
|
||||||
|
|
Loading…
Reference in New Issue