From 761b7efb3b8a140caad12803619a2e8a535cc178 Mon Sep 17 00:00:00 2001 From: zjopy <33468089+zjopy@users.noreply.github.com> Date: Thu, 7 May 2020 13:48:48 +0200 Subject: fix(docs): add missing "deno run" (#5126) --- std/examples/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'std/examples/README.md') 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. -- cgit v1.2.3