summaryrefslogtreecommitdiff
path: root/docs/tools/script_installer.md
diff options
context:
space:
mode:
authorDustin Callaway <drcallaway@gmail.com>2020-06-12 16:44:00 +0200
committerGitHub <noreply@github.com>2020-06-12 10:44:00 -0400
commit93573afe8262efa21cf68269618b4416001ea609 (patch)
tree095a4e4de942cb190f884853a98c93c98d0264ca /docs/tools/script_installer.md
parent07bf90779b41449451683aeacda7a3629382ee5c (diff)
improve file_server docs (#6262)
Diffstat (limited to 'docs/tools/script_installer.md')
-rw-r--r--docs/tools/script_installer.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/tools/script_installer.md b/docs/tools/script_installer.md
index e03392b28..5f388fc6d 100644
--- a/docs/tools/script_installer.md
+++ b/docs/tools/script_installer.md
@@ -6,7 +6,7 @@ Deno provides `deno install` to easily install and distribute executable code.
available at `URL` under the name `EXE_NAME`.
This command creates a thin, executable shell script which invokes `deno` using
-the specified CLI flags and main module. It is place in the installation root's
+the specified CLI flags and main module. It is placed in the installation root's
`bin` directory.
Example:
@@ -55,11 +55,11 @@ You must specify permissions that will be used to run the script at installation
time.
```shell
-deno install --allow-net --allow-read https://deno.land/std/http/file_server.ts 8080
+deno install --allow-net --allow-read https://deno.land/std/http/file_server.ts -p 8080
```
The above command creates an executable called `file_server` that runs with
-write and read permissions and binds to port 8080.
+network and read permissions and binds to port 8080.
For good practice, use the [`import.meta.main`](../examples/testing_if_main.md)
idiom to specify the entry point in an executable script.