From d246192df029a17491c48a17a8594bf106757359 Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Thu, 23 May 2013 00:49:20 +0200 Subject: [PATCH] Add short options --- sith.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sith.py b/sith.py index c40ff27a..df53c623 100755 --- a/sith.py +++ b/sith.py @@ -198,7 +198,7 @@ class RandomAtaccker(MixinPrinter, BaseAttacker): def add_arguments(self, parser): super(RandomAtaccker, self).add_arguments(parser) parser.add_argument( - '--maxtries', default=10000, type=int) + '--maxtries', '-l', default=10000, type=int) parser.add_argument( 'rootpath', default='.', nargs='?', help='root directory to look for Python files.') @@ -268,7 +268,7 @@ class AttackApp(object): formatter_class=argparse.RawDescriptionHelpFormatter, description=__doc__) parser.add_argument( - '--record', default='record.json', + '--record', '-R', default='record.json', help='Exceptions are recorded in here.') parser.add_argument( '--pdb', dest='debugger', const='pdb', action='store_const',