diff options
author | zjopy <33468089+zjopy@users.noreply.github.com> | 2020-05-07 13:48:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-07 13:48:48 +0200 |
commit | 761b7efb3b8a140caad12803619a2e8a535cc178 (patch) | |
tree | c046d2fe25453713284e1670f10ceae05bac2673 /std/examples/README.md | |
parent | 34ec3b225425cecdccf754fbc87f4a8f3728890d (diff) |
fix(docs): add missing "deno run" (#5126)
Diffstat (limited to 'std/examples/README.md')
-rw-r--r-- | std/examples/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/std/examples/README.md b/std/examples/README.md index 1c47d258e..cdc477833 100644 --- a/std/examples/README.md +++ b/std/examples/README.md @@ -10,7 +10,7 @@ bookmark to a program.) ### A TCP echo server ```shell -deno --allow-net https://deno.land/std/examples/echo_server.ts +deno run --allow-net https://deno.land/std/examples/echo_server.ts ``` Or @@ -40,7 +40,7 @@ echo example.json | catj - ### curl - print the contents of a url to standard output ```shell -deno --allow-net=deno.land https://deno.land/std/examples/curl.ts https://deno.land/ +deno run --allow-net=deno.land https://deno.land/std/examples/curl.ts https://deno.land/ ``` ### gist - easily create and upload Gists @@ -55,7 +55,7 @@ gist --t "Example gist 2" script2.ts ### chat - WebSocket chat server and browser client ```shell -deno --allow-net --allow-read https://deno.land/std/examples/chat/server.ts +deno run --allow-net --allow-read https://deno.land/std/examples/chat/server.ts ``` Open http://localhost:8080 on the browser. |