From 5bd4be5ce7299f1917b6927fac6882a154424fb0 Mon Sep 17 00:00:00 2001 From: M1CK431 <31622263+M1CK431@users.noreply.github.com> Date: Fri, 6 Sep 2024 10:29:43 +0200 Subject: [PATCH] doc: replace --allow-fs-read by --allow-fs-write in related section PR-URL: https://github.com/nodejs/node/pull/54427 Reviewed-By: Rafael Gonzaga Reviewed-By: Luigi Pinca --- doc/api/cli.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index c3615857312779..6a5d42f68032a9 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -259,8 +259,8 @@ the [Permission Model][]. The valid arguments for the `--allow-fs-write` flag are: * `*` - To allow all `FileSystemWrite` operations. -* Multiple paths can be allowed using multiple `--allow-fs-read` flags. - Example `--allow-fs-read=/folder1/ --allow-fs-read=/folder1/` +* Multiple paths can be allowed using multiple `--allow-fs-write` flags. + Example `--allow-fs-write=/folder1/ --allow-fs-write=/folder1/` Paths delimited by comma (`,`) are no longer allowed. When passing a single flag with a comma a warning will be displayed.