diff options
Diffstat (limited to 'nomsu.lua')
| -rw-r--r-- | nomsu.lua | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -815,7 +815,6 @@ if arg and debug_getinfo(2).func ~= require then local parser = re.compile([[ args <- {| (flag ";")* {:inputs: {| ({file} ";")* |} :} {:nomsu_args: {| ("--;" ({[^;]*} ";")*)? |} :} ";"? |} !. flag <- {:interactive: ("-i" -> true) :} - / {:verbose: ("-v" -> true) :} / {:optimized: ("-O" -> true) :} / {:format: ("-f" -> true) :} / {:syntax: ("-s" -> true) :} @@ -840,7 +839,6 @@ OPTIONS -O Run the compiler in optimized mode (use precompiled .lua versions of Nomsu files, when available) -f Auto-format the given Nomsu file and print the result. -s Check the program for syntax errors. - -v Verbose mode. -h/--help Print this message. -o <file> Output the compiled Lua file to the given file (use "-" to output to stdout; if outputting to stdout and -p is not specified, -p will default to /dev/null) -p <file> Print to the specified file instead of stdout. @@ -978,9 +976,6 @@ OPTIONS end local run run = function() - if args.verbose then - nomsu.debug = true - end for i, input in ipairs(args.inputs) do if input == "-" then args.inputs[i] = STDIN |
