|
attack_group.add_option('-K', '--keepalive', metavar="KEEP_ALIVE", nargs=0, |
The nargs option is 0, so my assumption is the argument will never have a value and so will never pass "-k" option to Apache Bench.
I tried:
"bees attack -K True"
"bees attack --keepalive=True"
"bees attack -K KEEP_ALIVE"
"bees attack --keepalive=KEEP_ALIVE"
"bees attack -K"
"bees attack --keepalive"
None of them added -k to Apache Bench
beeswithmachineguns/beeswithmachineguns/main.py
Line 105 in 4b8783d
The nargs option is 0, so my assumption is the argument will never have a value and so will never pass "-k" option to Apache Bench.
I tried:
"bees attack -K True"
"bees attack --keepalive=True"
"bees attack -K KEEP_ALIVE"
"bees attack --keepalive=KEEP_ALIVE"
"bees attack -K"
"bees attack --keepalive"
None of them added -k to Apache Bench