mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-13 01:10:19 -04:00
Fixed ls -l in pure io mode.
This commit is contained in:
parent
4f70ea4152
commit
57714dad27
@ -77,7 +77,11 @@ for i = 1, #dirs do
|
|||||||
end
|
end
|
||||||
if options.a or f:sub(1, 1) ~= "." then
|
if options.a or f:sub(1, 1) ~= "." then
|
||||||
if not formatOutput() then
|
if not formatOutput() then
|
||||||
io.write(f .. "\n")
|
io.write(f)
|
||||||
|
if options.l then
|
||||||
|
io.write(" " .. fs.size(fs.concat(path, f)))
|
||||||
|
end
|
||||||
|
io.write("\n")
|
||||||
else
|
else
|
||||||
io.write(text.padRight(f, m))
|
io.write(text.padRight(f, m))
|
||||||
if options.l then
|
if options.l then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user