mirror of
https://github.com/python/cpython.git
synced 2024-11-27 20:04:41 +08:00
gh-100916: Convert argument to appropriate type (GH-100917)
This commit is contained in:
parent
35650f2538
commit
b2f7b2ef0b
@ -1131,7 +1131,7 @@ each request is handled by a thread:
|
|||||||
'context can be used to '
|
'context can be used to '
|
||||||
'populate logs')
|
'populate logs')
|
||||||
aa = ap.add_argument
|
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()
|
options = ap.parse_args()
|
||||||
|
|
||||||
# Create the dummy webapps and put them in a list which we can use to select
|
# Create the dummy webapps and put them in a list which we can use to select
|
||||||
|
Loading…
Reference in New Issue
Block a user