diff --git a/doc/api/cli.md b/doc/api/cli.md index bf6e435492943d..992d1f1f932555 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1178,12 +1178,11 @@ added: v18.8.0 > Stability: 1 - Experimental When used with `--build-snapshot`, `--snapshot-blob` specifies the path -where the generated snapshot blob will be written to. If not specified, -the generated blob will be written, by default, to `snapshot.blob` -in the current working directory. +where the generated snapshot blob is written to. If not specified, the +generated blob is written to `snapshot.blob` in the current working directory. When used without `--build-snapshot`, `--snapshot-blob` specifies the -path to the blob that will be used to restore the application state. +path to the blob that is used to restore the application state. When loading a snapshot, Node.js checks that: @@ -1192,7 +1191,8 @@ When loading a snapshot, Node.js checks that: 2. The V8 flags and CPU features are compatible with that of the binary that generates the snapshot. -If they don't match, Node.js would refuse to load the snapshot and exit with 1. +If they don't match, Node.js refuses to load the snapshot and exits with +status code 1. ### `--test`