aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpm.lua')
-rw-r--r--src/lpm.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index 49768ca..7beb181 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -2374,6 +2374,7 @@ not commonly used publically.
os.exit(0)
end
if ARGS[2] == "update-checksums" then
+ if #ARGS == 2 then error("usage: lpm update-checksums manifest.json") end
local contents = common.read(ARGS[3])
local m = json.decode(contents)
local computed = {}