documenting -D, -t and -T options

This commit is contained in:
Alex Shinn 2017-06-29 14:14:39 +09:00
parent 39bf3cecc7
commit 582c46935e

3
main.c
View file

@ -39,6 +39,7 @@ void sexp_usage(int err) {
" -q - \"quick\" load, use the core -xchibi language\n" " -q - \"quick\" load, use the core -xchibi language\n"
" -Q - extra \"quick\" load, -xchibi.primitive\n" " -Q - extra \"quick\" load, -xchibi.primitive\n"
" -V - print version information\n" " -V - print version information\n"
" -D <feature> - add <feature> to the list of features\n"
#if ! SEXP_USE_BOEHM #if ! SEXP_USE_BOEHM
" -h <size> - specify the initial heap size\n" " -h <size> - specify the initial heap size\n"
#endif #endif
@ -52,6 +53,8 @@ void sexp_usage(int err) {
" -p <expr> - evaluate and print an expression\n" " -p <expr> - evaluate and print an expression\n"
" -r[<main>] - run a SRFI-22 main\n" " -r[<main>] - run a SRFI-22 main\n"
" -R[<module>] - run main from a module\n" " -R[<module>] - run main from a module\n"
" -t <module.proc> - trace a procedure\n"
" -T - disable TCO (dangerous)\n"
#if SEXP_USE_IMAGE_LOADING #if SEXP_USE_IMAGE_LOADING
" -d <file> - dump an image file and exit\n" " -d <file> - dump an image file and exit\n"
" -i <file> - load an image file\n" " -i <file> - load an image file\n"