mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
gh-100916: Convert argument to appropriate type (GH-100917)
This commit is contained in:
parent
35650f2538
commit
b2f7b2ef0b
1 changed files with 1 additions and 1 deletions
|
@ -1131,7 +1131,7 @@ each request is handled by a thread:
|
|||
'context can be used to '
|
||||
'populate logs')
|
||||
aa = ap.add_argument
|
||||
aa('--count', '-c', default=100, help='How many requests to simulate')
|
||||
aa('--count', '-c', type=int, default=100, help='How many requests to simulate')
|
||||
options = ap.parse_args()
|
||||
|
||||
# Create the dummy webapps and put them in a list which we can use to select
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue