summaryrefslogtreecommitdiff
path: root/website/manual.md
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-04-21 17:34:18 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-04-21 11:34:18 -0400
commitcd19da62d9efe37566fdeff16e37ed066edd3e3a (patch)
treecefe352b922bf50395c16b525ea6276d2dfdfd49 /website/manual.md
parentc08075053f16e8c799c2132373a2deb6e896a9e9 (diff)
Refactor CLI entry point (#2157)
Changes "deno --types" to "deno types" and "deno --prefetch" to "deno prefetch"
Diffstat (limited to 'website/manual.md')
-rw-r--r--website/manual.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/website/manual.md b/website/manual.md
index d45794b2c..9e8736dc9 100644
--- a/website/manual.md
+++ b/website/manual.md
@@ -206,13 +206,13 @@ Environment variables: `DENO_BUILD_MODE`, `DENO_BUILD_PATH`, `DENO_BUILD_ARGS`,
## API reference
-### deno --types
+### deno types
To get an exact reference of deno's runtime API, run the following in the
command line:
```shellsession
-$ deno --types
+$ deno types
```
[This is what the output looks like.](https://gist.github.com/ry/46da4724168cdefa763e13207d27ede5)
@@ -551,9 +551,7 @@ FLAGS:
-h, --help Prints help information
-D, --log-debug Log debug output
--no-prompt Do not use prompts
- --prefetch Prefetch the dependencies
-r, --reload Reload source code cache (recompile TypeScript)
- --types Print runtime TypeScript declarations
--v8-options Print V8 command line options
-v, --version Print the version
@@ -565,6 +563,8 @@ SUBCOMMANDS:
eval Eval script
fmt Format files
info Show source file related info
+ prefetch Prefetch the dependencies
+ types Print runtime TypeScript declarations
ENVIRONMENT VARIABLES:
DENO_DIR Set deno's base directory
@@ -606,7 +606,7 @@ Particularly useful ones:
| Scheduler | Tokio |
| Userland: libc++ / glib / boost | deno_std |
| /proc/\$\$/stat | [Deno.metrics()](#metrics) |
-| man pages | deno --types |
+| man pages | deno types |
#### Resources