level_limit

This commit is contained in:
Costa Shulyupin 2020-06-24 08:08:01 +03:00
parent e63b4a9e64
commit 4ea44ce700
1 changed files with 4 additions and 0 deletions

View File

@ -1215,9 +1215,13 @@ def main():
else:
while sys.argv[1].startswith('--'):
global verbose
global level_limit
log(sys.argv[1][2:])
if sys.argv[1][2:] == 'verbose':
verbose = True
if sys.argv[1][2:] == 'level_limit':
level_limit = int(sys.argv[2])
sys.argv = sys.argv[1:]
sys.argv = sys.argv[1:]
a1 = sys.argv[1]