forked from OpenSDV/Linux_Kernel_map4vehicle
level_limit
This commit is contained in:
parent
e63b4a9e64
commit
4ea44ce700
|
@ -1215,9 +1215,13 @@ def main():
|
||||||
else:
|
else:
|
||||||
while sys.argv[1].startswith('--'):
|
while sys.argv[1].startswith('--'):
|
||||||
global verbose
|
global verbose
|
||||||
|
global level_limit
|
||||||
log(sys.argv[1][2:])
|
log(sys.argv[1][2:])
|
||||||
if sys.argv[1][2:] == 'verbose':
|
if sys.argv[1][2:] == 'verbose':
|
||||||
verbose = True
|
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:]
|
sys.argv = sys.argv[1:]
|
||||||
|
|
||||||
a1 = sys.argv[1]
|
a1 = sys.argv[1]
|
||||||
|
|
Loading…
Reference in New Issue