We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b54876a commit afae35bCopy full SHA for afae35b
xtra/PATCH.LUA
@@ -42,4 +42,6 @@ local function patch(p)
42
local ctx=bf:read("*l")if not ctx then print(M)os.exit(1)end
43
bl=bl+1 if of then of:write(ctx.."\n")ol=ol+1 end end end end end end
44
pf:close()if h then print("patched")end if bf then writeRemainder()end end
45
-if #arg<1 then os.exit(1)end patch(arg[1])
+if #arg<1 then print(arg[-1].." "..arg[0]..[[ diff...
46
+
47
+Patch a unified difference file]])os.exit(1)end patch(arg[1])
0 commit comments