mirror of
https://github.com/Reuh/candran.git
synced 2025-10-27 17:59:30 +00:00
Readme cleanup
This commit is contained in:
parent
da4ee63f3f
commit
d410606dc0
3 changed files with 80 additions and 68 deletions
3
bin/can
3
bin/can
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue