Skip to content

Commit bda411b

Browse files
author
Raghuveer Devulapalli
committed
print usage
1 parent 9ec813f commit bda411b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

run-bench.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
baseline = "stdargsort.*" + filterb
3232
contender = "avx512argsort.*" + filterb
3333
else:
34-
parser.error("Unknown argument '%s'" % args.benchcompare)
34+
parser.print_help(sys.stderr)
35+
parser.error("ERROR: Unknown argument '%s'" % args.benchcompare)
3536
rc = subprocess.check_call("./scripts/bench-compare.sh '%s' '%s'" % (baseline, contender), shell=True)
3637

3738
if args.branchcompare:

0 commit comments

Comments
 (0)