make style

This commit is contained in:
merlokk
2019-07-16 16:10:11 +03:00
parent ed4289d462
commit bd8824a2f3
3 changed files with 6 additions and 6 deletions

View File

@@ -81,8 +81,8 @@ local function main(args)
if o == 'o' then offset = tonumber(a) end
-- num of bytes to read
if o == 'l' then
length = tonumber(a)
if o == 'l' then
length = tonumber(a)
if length < 0 or length > 256 then
return oops('Error: Length is not valid. Must be less than 256')
end