diff --git a/doc/api/cli.md b/doc/api/cli.md index 38f72769d9d7ee..b0edc1e81790b4 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -897,6 +897,30 @@ minimum allocation from the secure heap. The minimum value is `2`. The maximum value is the lesser of `--secure-heap` or `2147483647`. The value given must be a power of two. +### `--snapshot-blob=path` + + +When used with `--snapshot-main`, `--snapshot-blob` specifies the path +where the generated snapshot blob will be written to. If not speficied, +the generated blob will be written, by default, to `snapshot.blob` +in the current working directory. + +When used without `--snapshot-main`, `--snapshot-blob` specifies the +path to the blob that will be used to restore the application state. + +### `--snapshot-main=path` + + +Specifies the path of the entry point file used to build user land +snapshot. If `--snapshot-blob` is not specified, the generated blob +will be written, by default, to `snapshot.blob` in the current working +directory. Otherwise it will be written to the path specified by +`--snapshot-blob`. + ### `--throw-deprecation`