Skip to content

Commit

Permalink
doc: be more definite and present tense-y
Browse files Browse the repository at this point in the history
PR-URL: #45120
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
bnoordhuis authored and RafaelGSS committed Nov 10, 2022
1 parent 5190021 commit c23e023
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1186,12 +1186,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:

Expand All @@ -1200,7 +1199,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`

Expand Down

0 comments on commit c23e023

Please sign in to comment.