From 89c4e1f967d7c0554d8885a8279c10681d7b9c25 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sun, 23 Oct 2022 02:37:42 +0200 Subject: [PATCH] doc: be more definite and present tense-y MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/45120 Reviewed-By: Michaël Zasso Reviewed-By: Santiago Gimeno Reviewed-By: Rich Trott Reviewed-By: Colin Ihrig Reviewed-By: Darshan Sen Reviewed-By: Tobias Nießen Reviewed-By: James M Snell Reviewed-By: Luigi Pinca --- doc/api/cli.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 24fc24247f4806..aeebb55933d622 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -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: @@ -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`