Skip to content

Commit

Permalink
Switch -m/-M to match ijson.dump
Browse files Browse the repository at this point in the history
Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
  • Loading branch information
rtobar committed Nov 30, 2023
1 parent 0954547 commit acc0162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ijson/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,11 @@ def main():
help='List available benchmarks and backends')
parser.add_argument('-i', '--input',
help='File to use for benchmarks rather than built-in benchmarking functions')
parser.add_argument('-m', '--multiple-values', action='store_true', default=False,
parser.add_argument('-M', '--multiple-values', action='store_true', default=False,
help='Content has multiple JSON values, useful when used with -i')
parser.add_argument('-f', '--use-float', action='store_true', default=False,
help='Parse non-integer numbers as float instead of Decimal')
parser.add_argument('-M', '--method', choices=['basic_parse', 'parse', 'kvitems', 'items'],
parser.add_argument('-m', '--method', choices=['basic_parse', 'parse', 'kvitems', 'items'],
help='The method to benchmark', default='basic_parse')
parser.add_argument('-c', '--coro', action='store_true', default=False,
dest='run_coro', help='Benchmark coroutine methods')
Expand Down

0 comments on commit acc0162

Please sign in to comment.