forked from osmocom/wireshark
Default to number of CPUs available
svn path=/trunk/; revision=30591
This commit is contained in:
parent
2b54a78378
commit
ea9fca6f4b
|
@ -195,7 +195,7 @@ def main():
|
|||
help="Directory containing tshark executable")
|
||||
parser.add_option("-c", "--compare-dir", dest="compare_dir", default=None,
|
||||
help="Directory containing tshark executable which is used for comparison")
|
||||
parser.add_option("-j", dest="num_procs", default=1, type=int,
|
||||
parser.add_option("-j", dest="num_procs", default=multiprocessing.cpu_count(), type=int,
|
||||
help="Max number of processes to spawn")
|
||||
parser.add_option("-r", "--randomize", default=False, action="store_true",
|
||||
help="Randomize the file list order")
|
||||
|
|
Loading…
Reference in New Issue