aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/new_version.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/new_version.lua b/src/luarocks/new_version.lua
index b453704f..4eebf26a 100644
--- a/src/luarocks/new_version.lua
+++ b/src/luarocks/new_version.lua
@@ -12,7 +12,7 @@ local dir = require("luarocks.dir")
12local fs = require("luarocks.fs") 12local fs = require("luarocks.fs")
13 13
14help_summary = "Auto-write a rockspec for a new version of a rock." 14help_summary = "Auto-write a rockspec for a new version of a rock."
15help_arguments = "{<program>|<rockspec>} [<new_version>] [<new_url>]" 15help_arguments = "{<package>|<rockspec>} [<new_version>] [<new_url>]"
16help = [[ 16help = [[
17This is a utility function that writes a new rockspec, updating data 17This is a utility function that writes a new rockspec, updating data
18from a previous one. 18from a previous one.
@@ -76,7 +76,7 @@ function run(...)
76 if not input:match(".rockspec$") then 76 if not input:match(".rockspec$") then
77 local err 77 local err
78 filename, err = download.download("rockspec", input) 78 filename, err = download.download("rockspec", input)
79 if not input then 79 if not filename then
80 return nil, err 80 return nil, err
81 end 81 end
82 end 82 end