Skip to content

Commit

Permalink
Fix correction of a typo in usage
Browse files Browse the repository at this point in the history
  • Loading branch information
zcoder authored and ionelmc committed Oct 27, 2024
1 parent cec69f5 commit bb5e04a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Commandline options
--benchmark-cprofile=COLUMN
If specified measure one run with cProfile and stores
10 top functions. Argument is a column to sort by.
Available columns: 'ncallls_recursion', 'ncalls',
Available columns: 'ncalls_recursion', 'ncalls',
'tottime', 'tottime_per', 'cumtime', 'cumtime_per',
'function_name'.
--benchmark-storage=URI
Expand Down
2 changes: 1 addition & 1 deletion src/pytest_benchmark/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def pytest_addoption(parser):
default=None,
choices=['ncalls_recursion', 'ncalls', 'tottime', 'tottime_per', 'cumtime', 'cumtime_per', 'function_name'],
help="If specified measure one run with cProfile and stores 25 top functions."
" Argument is a column to sort by. Available columns: 'ncallls_recursion',"
" Argument is a column to sort by. Available columns: 'ncalls_recursion',"
" 'ncalls', 'tottime', 'tottime_per', 'cumtime', 'cumtime_per', 'function_name'.",
)
add_global_options(group.addoption)
Expand Down

0 comments on commit bb5e04a

Please sign in to comment.