openOS command line programs

This commit is contained in:
kepler155c@gmail.com
2019-04-07 10:10:30 -04:00
parent 5f2f33f1f2
commit 8f2c97d269
20 changed files with 163 additions and 280 deletions

View File

@@ -1,5 +1,5 @@
local shell = require("shell")
local transfer = require("tools/transfer")
local shell = require("openos.shell")
local transfer = require("openos.transfer")
local args, options = shell.parse(...)
options.h = options.h or options.help
@@ -17,7 +17,7 @@ if #args < 2 or options.h then
end
-- clean options for move (as opposed to copy)
options =
options =
{
cmd = "mv",
f = options.f,