diff options
| author | mpeterv <mpeterval@gmail.com> | 2016-02-11 15:20:51 +0300 |
|---|---|---|
| committer | mpeterv <mpeterval@gmail.com> | 2016-02-11 15:20:51 +0300 |
| commit | 0f2594e63e175946115bf725cb6b52bc807d4216 (patch) | |
| tree | 39083605ee36f4e2952f741e35977aec36a4a255 | |
| parent | 7a27096e5e1231cb49aedd045aa7a5f06c656cbe (diff) | |
| download | luarocks-0f2594e63e175946115bf725cb6b52bc807d4216.tar.gz luarocks-0f2594e63e175946115bf725cb6b52bc807d4216.tar.bz2 luarocks-0f2594e63e175946115bf725cb6b52bc807d4216.zip | |
Fix "missing argument" message for new_version
| -rw-r--r-- | src/luarocks/new_version.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/new_version.lua b/src/luarocks/new_version.lua index 9ef0cfbb..e5469295 100644 --- a/src/luarocks/new_version.lua +++ b/src/luarocks/new_version.lua | |||
| @@ -107,7 +107,7 @@ end | |||
| 107 | function new_version.run(...) | 107 | function new_version.run(...) |
| 108 | local flags, input, version, url = util.parse_flags(...) | 108 | local flags, input, version, url = util.parse_flags(...) |
| 109 | if not input then | 109 | if not input then |
| 110 | return nil, "Missing arguments: expected program or rockspec. "..util.see_help("new_version") | 110 | return nil, "Missing argument: expected package or rockspec. "..util.see_help("new_version") |
| 111 | end | 111 | end |
| 112 | assert(type(input) == "string") | 112 | assert(type(input) == "string") |
| 113 | 113 | ||
