0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-29 08:58:01 -04:00

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 <citrusmunch@users.noreply.github.com>
This commit is contained in:
citrusmunch 2023-11-20 17:59:13 -05:00 committed by Bartek Iwańczuk
parent 3b022f3472
commit bd03606935
No known key found for this signature in database
GPG key ID: 0C6BCDDC3B3AD750

View file

@ -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 -",
)
}