aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/util.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/luarocks/util.lua b/src/luarocks/util.lua
index 4b138516..4e70aa91 100644
--- a/src/luarocks/util.lua
+++ b/src/luarocks/util.lua
@@ -4,12 +4,8 @@
4-- inside specific functions) to avoid interdependencies, 4-- inside specific functions) to avoid interdependencies,
5-- as this is used in the bootstrapping stage of luarocks.cfg. 5-- as this is used in the bootstrapping stage of luarocks.cfg.
6 6
7local global_env = _G
8
9module("luarocks.util", package.seeall) 7module("luarocks.util", package.seeall)
10 8
11local cfg = require("luarocks.cfg")
12
13local scheduled_functions = {} 9local scheduled_functions = {}
14local debug = require("debug") 10local debug = require("debug")
15 11
@@ -374,6 +370,7 @@ function this_program(default)
374end 370end
375 371
376function deps_mode_help(program) 372function deps_mode_help(program)
373 local cfg = require("luarocks.cfg")
377 return [[ 374 return [[
378--deps-mode=<mode> How to handle dependencies. Four modes are supported: 375--deps-mode=<mode> How to handle dependencies. Four modes are supported:
379 * all - use all trees from the rocks_trees list 376 * all - use all trees from the rocks_trees list