diff --git a/beeswithmachineguns/main.py b/beeswithmachineguns/main.py index d3f4f81..8d4512b 100644 --- a/beeswithmachineguns/main.py +++ b/beeswithmachineguns/main.py @@ -122,7 +122,7 @@ def parse_options(): attack_group.add_option('-P', '--contenttype', metavar="CONTENTTYPE", nargs=1, action='store', dest='contenttype', type='string', default='text/plain', help="ContentType header to send to the target of the attack.") - attack_group.add_option('-S', '--sting', metavar="sting", nargs=1, + attack_group.add_option('-s', '--sting', metavar="sting", nargs=1, action='store', dest='sting', type='int', default=1, help="The flag to sting (ping to cache) url before attack (default: 1). 0: no sting, 1: sting sequentially, 2: sting in parallel") attack_group.add_option('-S', '--seconds', metavar="SECONDS", nargs=1,