From 386d59747a1a764c86c9686689247e171cf1fd19 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Wed, 4 May 2022 17:42:28 -0400 Subject: [PATCH] fix: flag names (#233) --- waku.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/waku.go b/waku.go index 68bad0e9..55bdb83a 100644 --- a/waku.go +++ b/waku.go @@ -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,