chore: update flag from --topics to --topic as per #584 (#585)

This commit is contained in:
Prem Chaitanya Prathi 2023-06-28 20:29:40 +05:30 committed by GitHub
parent 80eb17cfed
commit 06d303f8ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -229,8 +229,8 @@ var (
EnvVars: []string{"WAKUNODE2_RELAY"},
})
Topics = altsrc.NewStringSliceFlag(&cli.StringSliceFlag{
Name: "topics",
Usage: "List of topics to listen",
Name: "topic",
Usage: "Default topic to subscribe to. Argument may be repeated",
Destination: &options.Relay.Topics,
EnvVars: []string{"WAKUNODE2_TOPICS"},
})