diff --git a/cmd/validator/core/command.go b/cmd/validator/core/command.go index a5180f674..aa3531f05 100644 --- a/cmd/validator/core/command.go +++ b/cmd/validator/core/command.go @@ -42,7 +42,7 @@ func init() { ValidatorCmd.Flags().IntVarP(&config.RetryDelayMS, "retry-delay", "", 1000, "Time in milliseconds to sleep between retries.") ValidatorCmd.Flags().StringVar(&addr, "addr", "", "If provided validate a single address instead of reading Stdin.") ValidatorCmd.Flags().IntVar(&threads, "threads", 4, "Number of worker threads to initialize.") - ValidatorCmd.Flags().IntVar(&threads, "processor", 0, "Choose compare algorithm [0 = Struct, 1 = Reflection]") + ValidatorCmd.Flags().IntVar(&processorNum, "processor", 0, "Choose compare algorithm [0 = Struct, 1 = Reflection]") ValidatorCmd.Flags().BoolVar(&printCurl, "print-commands", false, "Print curl commands, including tokens, to query algod and indexer.") }