Skip to content

Commit

Permalink
Remove need for unnecessary -i argument
Browse files Browse the repository at this point in the history
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 <rtobar@icrar.org>
  • Loading branch information
rtobar committed Nov 30, 2023
1 parent acc0162 commit ca62714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ijson/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def main():
default=ALL_BACKENDS)
parser.add_argument('-l', '--list', action='store_true',
help='List available benchmarks and backends')
parser.add_argument('-i', '--input',
parser.add_argument('input',
help='File to use for benchmarks rather than built-in benchmarking functions')
parser.add_argument('-M', '--multiple-values', action='store_true', default=False,
help='Content has multiple JSON values, useful when used with -i')
Expand Down

0 comments on commit ca62714

Please # to comment.