aboutsummaryrefslogtreecommitdiff
path: root/src/luarocks/install.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/luarocks/install.lua')
-rw-r--r--src/luarocks/install.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/luarocks/install.lua b/src/luarocks/install.lua
index c2a54482..3960dcb8 100644
--- a/src/luarocks/install.lua
+++ b/src/luarocks/install.lua
@@ -24,7 +24,8 @@ or a filename of a locally available rock.
24--- Install a binary rock. 24--- Install a binary rock.
25-- @param rock_file string: local or remote filename of a rock. 25-- @param rock_file string: local or remote filename of a rock.
26-- @param deps_mode: string: Which trees to check dependencies for: 26-- @param deps_mode: string: Which trees to check dependencies for:
27-- "none", "one", "order" or "all". 27-- "one" for the current default tree, "all" for all trees,
28-- "order" for all trees with priority >= the current default, "none" for no trees.
28-- @return boolean or (nil, string, [string]): True if succeeded or 29-- @return boolean or (nil, string, [string]): True if succeeded or
29-- nil and an error message and an optional error code. 30-- nil and an error message and an optional error code.
30function install_binary_rock(rock_file, deps_mode) 31function install_binary_rock(rock_file, deps_mode)