From b77476d8842d496bf27e5cea379e0bfcbc3acbb9 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 ec2307963aaa41..1992bddb197d08 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.