Lua documentation fixes

Just a couple small documentation fixes.  I might have been mistaken about the "inputs" and "outputs" frule parameters taking flat strings rather than tables - when I tested it just now it didn't work.

I'm stepping on @gz's toes here, sorry.  I was remiss about PRing the commands change.

Edit: Sorry, I also didn't see your pull request @gz.