chibi-scheme.1: document -b

It's added in fad9e4ca (don't make stdio nonblocking by default, allow
override with -b, 2017-05-07)
This commit is contained in:
Nguyễn Thái Ngọc Duy 2021-05-04 17:46:32 +07:00
parent 4df0513d6e
commit 27adc08ba6
2 changed files with 7 additions and 0 deletions

View file

@ -225,6 +225,10 @@ Loads the Scheme heap from
.I image-file .I image-file
instead of compiling the init file on the fly. instead of compiling the init file on the fly.
This feature is still experimental. This feature is still experimental.
.TP
.BI -b
Makes stdio nonblocking (blocking by default). Only available when
lightweight threads are enabled.
.SH ENVIRONMENT .SH ENVIRONMENT
.TP .TP

3
main.c
View file

@ -59,6 +59,9 @@ void sexp_usage(int err) {
#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"
#endif
#if SEXP_USE_GREEN_THREADS
" -b - Make stdio nonblocking\n"
#endif #endif
); );
if (err == 0) exit_success(); if (err == 0) exit_success();