summaryrefslogtreecommitdiff
path: root/cli/flags.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/flags.rs')
-rw-r--r--cli/flags.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/flags.rs b/cli/flags.rs
index 171c05ad0..288e20b24 100644
--- a/cli/flags.rs
+++ b/cli/flags.rs
@@ -191,6 +191,9 @@ ability to spawn subprocesses.
# run program with permission to read from disk and listen to network
deno run --allow-net --allow-read https://deno.land/std/http/file_server.ts
+ # run program with permission to read whitelist files from disk and listen to nework
+ deno run --allow-net --allow-read=$(pwd) https://deno.land/std/http/file_server.ts
+
# run program with all permissions
deno run -A https://deno.land/std/http/file_server.ts
",