summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-08-04 00:11:57 +0100
committerubq323 <ubq323@ubq323.website>2022-08-04 00:11:57 +0100
commitf63c137a8adfeacb3e2d727d168cfbfbe86c2919 (patch)
tree8681ae751fd985900d0c7211ed360fd04896ad1a
parentcffe60f5cdd6fa4502398f95cdb376d1d7322179 (diff)
pm
-rw-r--r--pm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm.lua b/pm.lua
index 8a9d9ce..72dbdcf 100644
--- a/pm.lua
+++ b/pm.lua
@@ -28,7 +28,7 @@ local function manifest(pkgname)
end
else
for line in res.readAll():gmatch"[^\n]+" do
- local op,argstart = line:match "^(%w+)%s+()"
+ local op,argstart = line:match "^(%w+)%s*()"
if op then
local argstr = line:sub(argstart)
local args = {}