diff --git a/doc/chibi-scheme.1 b/doc/chibi-scheme.1 index fd75017d..3ec3689b 100644 --- a/doc/chibi-scheme.1 +++ b/doc/chibi-scheme.1 @@ -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 diff --git a/main.c b/main.c index c1679ce9..9c59957e 100644 --- a/main.c +++ b/main.c @@ -59,6 +59,9 @@ void sexp_usage(int err) { #if SEXP_USE_IMAGE_LOADING " -d - dump an image file and exit\n" " -i - load an image file\n" +#endif +#if SEXP_USE_GREEN_THREADS + " -b - Make stdio nonblocking\n" #endif ); if (err == 0) exit_success();