Skip to content

Commit ce83675

Browse files
committed
Added no argument help summary.
1 parent e56f18b commit ce83675

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

util/SQUISH.LUA

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,12 @@ local function Squish(fileName)
137137
print(data)
138138
end
139139

140+
if #arg < 1 then
141+
print(arg[0],[[[LUA SCRIPT...]
142+
143+
Removes comments, lines and whitespace from Lua scripts to save disk space.
144+
Always backup any script before running it with ]] .. arg[0])
145+
os.exit(1)
146+
end
147+
140148
for _,v in ipairs(arg) do Squish(v) end

0 commit comments

Comments
 (0)