summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-02-01 11:19:00 +0100
committerHans Hagen <pragma@wxs.nl>2010-02-01 11:19:00 +0100
commit02588d683c22719592a349365068f7320e257bdf (patch)
tree79f6c5b6b29ace012fc6f31909e28ccbb324b64e /scripts
parent7e1304e44d27b52b78bfaf5cfbc833cd91894182 (diff)
downloadcontext-02588d683c22719592a349365068f7320e257bdf.tar.gz
beta 2010.02.01 11:19
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/lua/mtx-context.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/context/lua/mtx-context.lua b/scripts/context/lua/mtx-context.lua
index 9b6e4bb3d..446f5b78f 100644
--- a/scripts/context/lua/mtx-context.lua
+++ b/scripts/context/lua/mtx-context.lua
@@ -1470,6 +1470,8 @@ special options:
if environment.argument("once") then
scripts.context.multipass.nofruns = 1
+elseif environment.argument("runs") then
+ scripts.context.multipass.nofruns = tonumber(environment.argument("runs")) or nil
end
if environment.argument("profile") then