summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/plugins/pack/xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/plugins/pack/xmake.lua b/xmake/plugins/pack/xmake.lua
index fa4408d78..24b005fe1 100644
--- a/xmake/plugins/pack/xmake.lua
+++ b/xmake/plugins/pack/xmake.lua
@@ -28,6 +28,7 @@ task("pack")
{'o', "outputdir", "kv", nil, "Set the output directory. (default: build/xpack)"},
{nil, "basename", "kv", nil, "Set the basename of the output file."},
{nil, "autobuild", "kv", true, "Build targets automatically."},
+ {'j', "jobs", "kv", tostring(os.default_njob()), "Set the number of parallel compilation jobs." },
{'f', "formats", "kv", "all", "Pack the given package formats.",
"e.g.",
" - xmake pack -f nsis,deb,rpm",