README.md in boojs-0.0.18 vs README.md in boojs-0.0.19
- old
+ new
@@ -28,11 +28,11 @@
```
#### DESCRIPTION
The following options are available:
* `-e` - Pass a javascript statement to execute after the file (if a file is provided) and then immediately terminate unless `-t` is set.
- * `-t` - Close the program after N seconds have passed, unless an exception is raised
+ * `-t` - Close the program after N seconds have passed, if an exception is raised before this, terminate immediately
* `-v` - Verify that a file contains no javascript syntax errors. Returns 0 if there are no errors.
#### EXAMPLES
Open a javascript pipe that reads from stdin, writes via console.log to stdout, prints exceptions via stderr, and exits with a return code of 1 if there are errors.
```sh
@@ -51,10 +51,9 @@
Execute a javascript statement, and then wait 4 seconds before exiting. Exceptions will return 1 and end execution early.
```sh
(sh)>boojs -e "console.log(document);" -t 4
```
-
Verify that a file contains no javascript runtime initialization errors
```sh
(sh)>boojs -v code.js
(sh)>echo $?