Skip to content

Commit ca62714

Browse files
committed
Remove need for unnecessary -i argument
Since we don't have positional arguments, we can consider the first one as being a file we want to benchmark. Signed-off-by: Rodrigo Tobar <[email protected]>
1 parent acc0162 commit ca62714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ijson/benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def main():
239239
default=ALL_BACKENDS)
240240
parser.add_argument('-l', '--list', action='store_true',
241241
help='List available benchmarks and backends')
242-
parser.add_argument('-i', '--input',
242+
parser.add_argument('input',
243243
help='File to use for benchmarks rather than built-in benchmarking functions')
244244
parser.add_argument('-M', '--multiple-values', action='store_true', default=False,
245245
help='Content has multiple JSON values, useful when used with -i')

0 commit comments

Comments
 (0)