📝 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
|
#endif
|
||||||
<<"nasal <option>\n"
|
<<"nasal <option>\n"
|
||||||
<<"option:\n"
|
<<"option:\n"
|
||||||
<<" -h, --help | get this help and exit.\n"
|
<<" -h, --help | get this help and exit.\n"
|
||||||
<<" -v, --version | get version of nasal interpreter.\n\n"
|
<<" -v, --version | get version of nasal interpreter.\n\n"
|
||||||
<<"nasal [option...] <file> [argv...]\n"
|
<<"nasal [option...] <file> [argv...]\n"
|
||||||
<<"option:\n"
|
<<"option:\n"
|
||||||
<<" -l, --lex | view token info.\n"
|
<<" -l, --lex | view token info.\n"
|
||||||
<<" -a, --ast | view abstract syntax tree.\n"
|
<<" -a, --ast | view abstract syntax tree.\n"
|
||||||
<<" -c, --code | view bytecode.\n"
|
<<" -c, --code | view bytecode.\n"
|
||||||
<<" -e, --exec | execute.\n"
|
<<" -e, --exec | execute.\n"
|
||||||
<<" -t, --time | get the running time.\n"
|
<<" -t, --time | get the running time.\n"
|
||||||
<<" -d, --detail | get detail runtime crash info.\n"
|
<<" -d, --detail | get detail runtime crash info.\n"
|
||||||
<<" | get detail linker path-not-found info.\n"
|
<<" | get detail linker path-not-found info.\n"
|
||||||
<<" | get garbage collector info if didn't crash.\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"
|
<<" | 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"
|
<<"file:\n"
|
||||||
<<" input file name to execute.\n"
|
<<" input file name to execute.\n"
|
||||||
<<"argv:\n"
|
<<"argv:\n"
|
||||||
|
|
Loading…
Reference in New Issue