From 08f5db5c62d7c4a698fea0a95cd0029915e5de9c Mon Sep 17 00:00:00 2001 From: citrusmunch Date: Mon, 20 Nov 2023 17:59:13 -0500 Subject: docs(cli/args/flags.rs): Update dead link for `run` example (#21277) The `deno run` example in the help output uses https://deno.land/std/examples/welcome.ts which no longer exists. Replacing with https://examples.deno.land/hello-world.ts Signed-off-by: citrusmunch --- cli/args/flags.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/args/flags.rs') diff --git a/cli/args/flags.rs b/cli/args/flags.rs index 6d1e41a19..d8d761da6 100644 --- a/cli/args/flags.rs +++ b/cli/args/flags.rs @@ -810,7 +810,7 @@ To start the REPL: To execute a script: - deno run https://deno.land/std/examples/welcome.ts + deno run https://examples.deno.land/hello-world.ts To evaluate code in the shell: @@ -2009,7 +2009,7 @@ fn run_subcommand() -> Command { By default all programs are run in sandbox without access to disk, network or ability to spawn subprocesses. - deno run https://deno.land/std/examples/welcome.ts + deno run https://examples.deno.land/hello-world.ts Grant all permissions: @@ -2025,7 +2025,7 @@ Grant permission to read allow-listed files from disk: Specifying the filename '-' to read the file from stdin. - curl https://deno.land/std/examples/welcome.ts | deno run -", + curl https://examples.deno.land/hello-world.ts | deno run -", ) } -- cgit v1.2.3