master
Kirigaya Kazuto 2019-01-08 10:16:21 +08:00
parent 10204e01be
commit 273ec57bc6
1 changed files with 2 additions and 1 deletions

View File

@ -5,8 +5,9 @@ local shell=require('shell')
local libcompress=require('libcompress')
local args,opts=shell.parse(...)
if(args<2) then
if(#args<2) then
print("Usage:\n\tcompress [-dv] <source> <dest>")
return
end
local verbose=opts["v"] and print or function() end