diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2019-08-16 16:12:25 +0300 |
---|---|---|
committer | Matti Paaso <matti.paaso@qt.io> | 2019-08-20 12:06:47 +0000 |
commit | 7f40607c5985437ec7bf92803bbe959737be4161 (patch) | |
tree | 7feac531dd22cee01b7f4d1b208025f66e957731 | |
parent | 55d81626508b1ae661d9872ec6fd8027b46ea6b3 (diff) |
Fix --max-cpu-count option
Did not allow setting value.
Change-Id: I042fd49e4f5ac4088c0527647d22846c21b56a50
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
-rw-r--r-- | packaging-tools/create_installer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging-tools/create_installer.py b/packaging-tools/create_installer.py index 79c5fa46c..803d50658 100644 --- a/packaging-tools/create_installer.py +++ b/packaging-tools/create_installer.py @@ -241,7 +241,7 @@ def setup_option_parser(): help="(Obsolete) Windows only: Removes Windows debug libraries") # set maximum number of cpu's used on packaging OPTION_PARSER.add_option("--max-cpu-count", - action="store_true", dest="max_cpu_count", default=8, + action="store", type="int", dest="max_cpu_count", default=8, help="Set maximum number of CPU's used on packaging. Default: 8") |