Skip to content

Commit acc0162

Browse files
committed
Switch -m/-M to match ijson.dump
Signed-off-by: Rodrigo Tobar <[email protected]>
1 parent 0954547 commit acc0162

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ijson/benchmark.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,11 +241,11 @@ def main():
241241
help='List available benchmarks and backends')
242242
parser.add_argument('-i', '--input',
243243
help='File to use for benchmarks rather than built-in benchmarking functions')
244-
parser.add_argument('-m', '--multiple-values', action='store_true', default=False,
244+
parser.add_argument('-M', '--multiple-values', action='store_true', default=False,
245245
help='Content has multiple JSON values, useful when used with -i')
246246
parser.add_argument('-f', '--use-float', action='store_true', default=False,
247247
help='Parse non-integer numbers as float instead of Decimal')
248-
parser.add_argument('-M', '--method', choices=['basic_parse', 'parse', 'kvitems', 'items'],
248+
parser.add_argument('-m', '--method', choices=['basic_parse', 'parse', 'kvitems', 'items'],
249249
help='The method to benchmark', default='basic_parse')
250250
parser.add_argument('-c', '--coro', action='store_true', default=False,
251251
dest='run_coro', help='Benchmark coroutine methods')

0 commit comments

Comments
 (0)