ile, errmsg = io.open(optvalue, "w")
  if file
    then verbose:output(file)
    else return errmsg
  end
end

print("Fake Server 1.0  Copyright (C) 0000")
local argidx, errmsg = args(...)
if not argidx or argidx >= select("#", ...) then
  io.stderr:write([[
ERROR: ]],errmsg,[[ 
Usage:  fakeserver.lua [options] &lt;files&gt;
Options:
  --verb &lt;flag&gt;
  --log &lt;file&gt;
  --port &lt;number&gt;

]])
  os.exit(1)
end

for _, flag in ipairs(args.verb) do
  verbose:flag(flag, true)
end

if args.port == 0 