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 danielleadams committed Jan 3, 2023
1 parent b09c386 commit 3ddb6cc
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 @@ -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:

Expand All @@ -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`

Expand Down

0 comments on commit 3ddb6cc

Please sign in to comment.