get payload size choices from SIZE_OF_FILLER.keys()

This commit is contained in:
troymc 2016-05-11 15:43:30 +02:00
parent dd93e03750
commit 972f810ac7

View File

@ -119,7 +119,7 @@ def main():
type=int, default=0,
help='Number of transactions to add to the backlog')
backlog_parser.add_argument('-s', '--payload-size',
choices=['minimal', 'small', 'medium', 'large'],
choices=SIZE_OF_FILLER.keys(),
default='minimal',
help='Payload size')