perf_test.py: implement -i option
This commit is contained in:
parent
8650b70e06
commit
0ecac46a1d
|
@ -51,6 +51,9 @@ while i < len(sys.argv):
|
||||||
if sys.argv[i] == '-o' and i + 1 < len(sys.argv):
|
if sys.argv[i] == '-o' and i + 1 < len(sys.argv):
|
||||||
i += 1
|
i += 1
|
||||||
out_filename = sys.argv[i]
|
out_filename = sys.argv[i]
|
||||||
|
elif sys.argv[i] == '-i' and i + 1 < len(sys.argv):
|
||||||
|
i += 1
|
||||||
|
in_filename = sys.argv[i]
|
||||||
elif sys.argv[i] == '-q':
|
elif sys.argv[i] == '-q':
|
||||||
quiet = True
|
quiet = True
|
||||||
elif sys.argv[i] == '-kakadu':
|
elif sys.argv[i] == '-kakadu':
|
||||||
|
|
Loading…
Reference in New Issue