mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05: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:
parent
1eefe3e42b
commit
08f5db5c62
1 changed files with 3 additions and 3 deletions
|
@ -810,7 +810,7 @@ To start the REPL:
|
||||||
|
|
||||||
To execute a script:
|
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:
|
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
|
By default all programs are run in sandbox without access to disk, network or
|
||||||
ability to spawn subprocesses.
|
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:
|
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.
|
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 -",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue