summaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-05-03 23:15:16 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-05-03 17:15:16 -0400
commitf6a9d7d7172df6422f895dcfe6f4267ad1b472da (patch)
tree086a9e3e75e7597f2d456c26749d9d9d64e51990 /website
parent36081171323e266760db8bed2f31a6e3be7d8839 (diff)
add "deno run" subcommand (#2215)
Diffstat (limited to 'website')
-rw-r--r--website/index.html2
-rw-r--r--website/manual.md33
2 files changed, 14 insertions, 21 deletions
diff --git a/website/index.html b/website/index.html
index f1cbde49f..4af6d67a4 100644
--- a/website/index.html
+++ b/website/index.html
@@ -104,7 +104,7 @@ href="https://github.com/denoland/deno_install/blob/master/install.ps1">https://
<h2 id="example">Example <a href="#example">#</a></h2>
<p>Try running a simple program:</p>
- <pre>deno https://deno.land/welcome.ts</pre>
+ <pre>deno run https://deno.land/welcome.ts</pre>
<p>Or a more complex one:</p>
diff --git a/website/manual.md b/website/manual.md
index bfc8f9603..efa867b18 100644
--- a/website/manual.md
+++ b/website/manual.md
@@ -543,31 +543,24 @@ USAGE:
deno [FLAGS] [OPTIONS] [SUBCOMMAND]
FLAGS:
- -A, --allow-all Allow all permissions
- --allow-env Allow environment access
- --allow-high-precision Allow high precision time measurement
- --allow-net Allow network access
- --allow-read Allow file system read access
- --allow-run Allow running subprocesses
- --allow-write Allow file system write access
- -h, --help Prints help information
- -D, --log-debug Log debug output
- --no-prompt Do not use prompts
- -r, --reload Reload source code cache (recompile TypeScript)
- --v8-options Print V8 command line options
+ -h, --help Prints help information
+ -D, --log-debug Log debug output
+ -r, --reload Reload source code cache (recompile TypeScript)
+ --v8-options Print V8 command line options
OPTIONS:
+ -c, --config <FILE> Load compiler configuration file
--v8-flags=<v8-flags> Set V8 command line options
SUBCOMMANDS:
- <script> Script to run
- eval Eval script
- fetch Fetch the dependencies
- fmt Format files
- help Prints this message or the help of the given subcommand(s)
- info Show source file related info
- types Print runtime TypeScript declarations
- version Print the version
+ eval Eval script
+ fetch Fetch the dependencies
+ fmt Format files
+ help Prints this message or the help of the given subcommand(s)
+ info Show source file related info
+ run Run a program given a filename or url to the source code
+ types Print runtime TypeScript declarations
+ version Print the version
ENVIRONMENT VARIABLES:
DENO_DIR Set deno's base directory