mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Fix an error message: the cvs prefix takes one to three arguments,
not two to three.
This commit is contained in:
parent
602d2d8a66
commit
6ee8bc7966
@ -225,7 +225,7 @@ function cvsweb (base, project, url)
|
||||
string.gsub(url, "([^%s]+)", function (w) table.insert(t, w) end)
|
||||
file, old, new = t[1], t[2], t[3]
|
||||
|
||||
if t[4] then error('this smartprefix takes only two to three arguments') return nil end
|
||||
if t[4] then error('this smartprefix takes only one to three arguments') return nil end
|
||||
if not file then error('no file given') return nil end
|
||||
|
||||
if new then return base..project.."/"..file..".diff?r1="..old.."&r2="..new.."&f=u"
|
||||
|
Loading…
x
Reference in New Issue
Block a user