aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/build.lua4
-rw-r--r--src/luarocks/install.lua4
-rw-r--r--src/luarocks/make.lua4
-rw-r--r--src/luarocks/remove.lua4
4 files changed, 8 insertions, 8 deletions
diff --git a/src/luarocks/build.lua b/src/luarocks/build.lua
index cee65781..ec269023 100644
--- a/src/luarocks/build.lua
+++ b/src/luarocks/build.lua
@@ -351,8 +351,8 @@ end
351-- if returned a result, installs the matching rock. 351-- if returned a result, installs the matching rock.
352-- @param version string: When passing a package name, a version number may 352-- @param version string: When passing a package name, a version number may
353-- also be given. 353-- also be given.
354-- @return boolean or (nil, string): True if build was successful; nil and an 354-- @return boolean or (nil, string, exitcode): True if build was successful; nil and an
355-- error message otherwise. 355-- error message otherwise. exitcode is optionally returned.
356function run(...) 356function run(...)
357 local flags, name, version = util.parse_flags(...) 357 local flags, name, version = util.parse_flags(...)
358 if type(name) ~= "string" then 358 if type(name) ~= "string" then
diff --git a/src/luarocks/install.lua b/src/luarocks/install.lua
index 041d8ca2..b28e6282 100644
--- a/src/luarocks/install.lua
+++ b/src/luarocks/install.lua
@@ -120,8 +120,8 @@ end
120-- if returned a result, installs the matching rock. 120-- if returned a result, installs the matching rock.
121-- @param version string: When passing a package name, a version number 121-- @param version string: When passing a package name, a version number
122-- may also be given. 122-- may also be given.
123-- @return boolean or (nil, string): True if installation was 123-- @return boolean or (nil, string, exitcode): True if installation was
124-- successful, nil and an error message otherwise. 124-- successful, nil and an error message otherwise. exitcode is optionally returned.
125function run(...) 125function run(...)
126 local flags, name, version = util.parse_flags(...) 126 local flags, name, version = util.parse_flags(...)
127 if type(name) ~= "string" then 127 if type(name) ~= "string" then
diff --git a/src/luarocks/make.lua b/src/luarocks/make.lua
index aff4f93c..3999e39f 100644
--- a/src/luarocks/make.lua
+++ b/src/luarocks/make.lua
@@ -40,8 +40,8 @@ To install rocks, you'll normally want to use the "install" and
40 40
41--- Driver function for "make" command. 41--- Driver function for "make" command.
42-- @param name string: A local rockspec. 42-- @param name string: A local rockspec.
43-- @return boolean or (nil, string): True if build was successful; nil and an 43-- @return boolean or (nil, string, exitcode): True if build was successful; nil and an
44-- error message otherwise. 44-- error message otherwise. exitcode is optionally returned.
45function run(...) 45function run(...)
46 local flags, rockspec = util.parse_flags(...) 46 local flags, rockspec = util.parse_flags(...)
47 assert(type(rockspec) == "string" or not rockspec) 47 assert(type(rockspec) == "string" or not rockspec)
diff --git a/src/luarocks/remove.lua b/src/luarocks/remove.lua
index 9ab6d11f..f2f6997b 100644
--- a/src/luarocks/remove.lua
+++ b/src/luarocks/remove.lua
@@ -132,8 +132,8 @@ end
132-- a specific version; otherwise, try to remove all versions. 132-- a specific version; otherwise, try to remove all versions.
133-- @param version string: When passing a package name, a version number 133-- @param version string: When passing a package name, a version number
134-- may also be given. 134-- may also be given.
135-- @return boolean or (nil, string): True if removal was 135-- @return boolean or (nil, string, exitcode): True if removal was
136-- successful, nil and an error message otherwise. 136-- successful, nil and an error message otherwise. exitcode is optionally returned.
137function run(...) 137function run(...)
138 local flags, name, version = util.parse_flags(...) 138 local flags, name, version = util.parse_flags(...)
139 139