From 798db3c92a9b9c9f991eed59ce91e9974c052bc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Tue, 2 May 2023 00:24:33 +0200 Subject: [PATCH] doc: fix --allow-* CLI flag references PR-URL: https://github.com/nodejs/node/pull/47804 Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Mestery --- doc/api/cli.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 8daba8b46eaf5b..b1d6d8a0f9317c 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -552,9 +552,9 @@ Enable the Permission Model for current process. When enabled, the following permissions are restricted: * File System - manageable through - \[`--allow-fs-read`]\[],\[`allow-fs-write`]\[] flags -* Child Process - manageable through \[`--allow-child-process`]\[] flag -* Worker Threads - manageable through \[`--allow-worker`]\[] flag + [`--allow-fs-read`][], [`--allow-fs-write`][] flags +* Child Process - manageable through [`--allow-child-process`][] flag +* Worker Threads - manageable through [`--allow-worker`][] flag ### `--experimental-policy` @@ -2572,6 +2572,10 @@ done [V8 JavaScript code coverage]: https://v8project.blogspot.com/2017/12/javascript-code-coverage.html [Web Crypto API]: webcrypto.md [`"type"`]: packages.md#type +[`--allow-child-process`]: #--allow-child-process +[`--allow-fs-read`]: #--allow-fs-read +[`--allow-fs-write`]: #--allow-fs-write +[`--allow-worker`]: #--allow-worker [`--cpu-prof-dir`]: #--cpu-prof-dir [`--diagnostic-dir`]: #--diagnostic-dirdirectory [`--experimental-sea-config`]: single-executable-applications.md#generating-single-executable-preparation-blobs