Updated help menu in config.nim

This commit is contained in:
Mattia Giambirtone 2022-12-16 15:23:32 +01:00
parent 382244f7a7
commit 8cad266651
1 changed files with 7 additions and 6 deletions

View File

@ -56,21 +56,22 @@ Options
-h, --help Show this help text and exits -h, --help Show this help text and exits
-v, --version Print the current peon version and exits -v, --version Print the current peon version and exits
-s, --string Execute the passed string as if it was a file -s, --string Execute the passed string as if it was a file
-n, --noDump Don't dump the result of compilation to a file -n, --noDump Don't dump the result of compilation to a file.
Note that no dump is created when using -s/--string
-b, --breakpoints Run the debugger at specific bytecode offsets (comma-separated). -b, --breakpoints Run the debugger at specific bytecode offsets (comma-separated).
Only available with --backend:bytecode and when compiled with VM Only available with --backend:bytecode and when compiled with VM
debugging on debugging on
-d, --disassemble Disassemble the given bytecode file instead of executing it -d, --disassemble Disassemble the given bytecode file instead of executing it
(only makes sense with --backend:bytecode) (only makes sense with --backend:bytecode)
-m, --mode Set the compilation mode. Acceptable values are 'debug' and -m, --mode Set the compilation mode. Acceptable values are 'debug' and
'release' 'release'. Defaults to 'debug'
-c, --compile Compile the code, but do not execute it -c, --compile Compile the code, but do not execute it
--warnings Turn warnings on/off (default: on). Acceptable values are --warnings Turn warnings on or off (default: on). Acceptable values are
yes/on and no/off yes/on and no/off
--noWarn Disable a specific warning (for example, --noWarn unusedVariable) --noWarn Disable a specific warning (for example, --noWarn unusedVariable)
--showMismatches Show all mismatches when dispatching function calls fails (quite verbose!) --showMismatches Show all mismatches when function dispatching fails (output is really verbose)
--backend Select the compilation backend (valid values are: 'c', 'cpp' and 'bytecode'). Note --backend Select the compilation backend (valid values are: 'c', 'cpp' and 'bytecode'). Note
that the REPL always uses the bytecode target. Defaults to 'bytecode' that the REPL always uses the bytecode target. Defaults to 'bytecode'
-o, --output Rename the output file with this value (with --backend:bytecode, the .pbc extension -o, --output Rename the output file with this value (with --backend:bytecode, a '.pbc' extension
is added) is added if not already present)
""" """