📝 fix help info align
This commit is contained in:
parent
0576459fbe
commit
24ae1c246f
20
main.cpp
20
main.cpp
|
@ -32,21 +32,21 @@ void help()
|
|||
#endif
|
||||
<<"nasal <option>\n"
|
||||
<<"option:\n"
|
||||
<<" -h, --help | get this help and exit.\n"
|
||||
<<" -v, --version | get version of nasal interpreter.\n\n"
|
||||
<<" -h, --help | get this help and exit.\n"
|
||||
<<" -v, --version | get version of nasal interpreter.\n\n"
|
||||
<<"nasal [option...] <file> [argv...]\n"
|
||||
<<"option:\n"
|
||||
<<" -l, --lex | view token info.\n"
|
||||
<<" -a, --ast | view abstract syntax tree.\n"
|
||||
<<" -c, --code | view bytecode.\n"
|
||||
<<" -e, --exec | execute.\n"
|
||||
<<" -t, --time | get the running time.\n"
|
||||
<<" -d, --detail | get detail runtime crash info.\n"
|
||||
<<" -l, --lex | view token info.\n"
|
||||
<<" -a, --ast | view abstract syntax tree.\n"
|
||||
<<" -c, --code | view bytecode.\n"
|
||||
<<" -e, --exec | execute.\n"
|
||||
<<" -t, --time | get the running time.\n"
|
||||
<<" -d, --detail | get detail runtime crash info.\n"
|
||||
<<" | get detail linker path-not-found info.\n"
|
||||
<<" | get garbage collector info if didn't crash.\n"
|
||||
<<" -o, --optimize | use optimizer(beta).\n"
|
||||
<<" -o, --optimize | use optimizer(beta).\n"
|
||||
<<" | if want to use -op and run, please use -op -e/-t/-d.\n"
|
||||
<<" -dbg, --debug | debug mode (this will ignore -t -d).\n"
|
||||
<<" -dbg, --debug | debug mode (this will ignore -t -d).\n"
|
||||
<<"file:\n"
|
||||
<<" input file name to execute.\n"
|
||||
<<"argv:\n"
|
||||
|
|
Loading…
Reference in New Issue