Add preferred-tags flag to rlpreader tool
@@ -24,6 +24,7 @@ var (
keyFile = flag.String("key", "", "key to use to connect to rlp")
caFile = flag.String("ca", "", "ca cert to use to connect to rlp")
delay = flag.Duration("delay", 0, "delay inbetween reading messages")
+ preferredTags = flag.Bool("preferred-tags", false, "use preferred tags")
)
func main() {
@@ -53,7 +54,7 @@ func main() {
Log: &v2.LogSelector{},
},
},
- UsePreferredTags: true,
+ UsePreferredTags: *preferredTags,
})
if err != nil {
log.Fatal(err)
