blob: bf9adb0506829da28b4e1b9804b3294e4d788090 [file] [log] [blame] [raw]
local args = shell.parse(...)
if #args < 1 then
print("Usage: useradd <name>")
return
end
local result, reason = os.addUser(args[1])
if not result then
print(reason)
end