Merge pull request #743 from pclouds/chibi-b-opt

chibi-scheme.1: document -b
This commit is contained in:
Alex Shinn 2021-05-04 20:41:40 +09:00 committed by GitHub
commit 91f26c5313
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

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

3
main.c
View file

@ -59,6 +59,9 @@ void sexp_usage(int err) {
#if SEXP_USE_IMAGE_LOADING
" -d <file> - dump an image file and exit\n"
" -i <file> - load an image file\n"
#endif
#if SEXP_USE_GREEN_THREADS
" -b - Make stdio nonblocking\n"
#endif
);
if (err == 0) exit_success();