Skip to content

Commit

Permalink
Bugfix expected failures flag ux (#42)
Browse files Browse the repository at this point in the history
Other flags use an underscore with multi-word flags, expected-failures
uses a hyphen. This change repairs this oversight
  • Loading branch information
elliotmjackson authored Jul 4, 2023
1 parent 2b3165a commit bf89be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/protovalidate-conformance/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func parseFlags() (*config, error) {
flag.BoolVar(&cfg.proto, "proto", cfg.proto, "return results as binary serialized proto to stdout")
flag.BoolVar(&cfg.dump, "dump", cfg.dump, "output the expected results, without a command")
flag.IntVar(&cfg.benchmark, "benchmark", cfg.benchmark, "run benchmarks")
flag.StringVar(&cfg.expectedFailureFile, "expected-failures", cfg.expectedFailureFile, "yaml file containing list of expected failures")
flag.StringVar(&cfg.expectedFailureFile, "expected_failures", cfg.expectedFailureFile, "yaml file containing list of expected failures")
flag.Parse()

cfg.print = !cfg.json && !cfg.proto
Expand Down

0 comments on commit bf89be4

Please sign in to comment.