1
0
Fork 0
mirror of https://github.com/Reuh/candran.git synced 2025-10-27 17:59:30 +00:00

Readme cleanup

This commit is contained in:
Étienne Fildadut 2019-08-24 15:19:59 +02:00
parent da4ee63f3f
commit d410606dc0
3 changed files with 80 additions and 68 deletions

View file

@ -7,7 +7,10 @@ local args = cmdline(arg)
if args.help or args.h then
print("Candran "..candran.VERSION.." interpreter by Reuh")
print("Usage: "..arg[0].." [options] filename")
print("Specify no options to start the REPL.")
print("Use - instead of a filename to read from the standard input.")
print("Interpreter options:")
print(" -help or -h print this text")
print("Default options:")
for opt, val in pairs(candran.default) do
if type(val) == "string" then val = val:gsub("\n", "\\n") end