From cd19da62d9efe37566fdeff16e37ed066edd3e3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sun, 21 Apr 2019 17:34:18 +0200 Subject: Refactor CLI entry point (#2157) Changes "deno --types" to "deno types" and "deno --prefetch" to "deno prefetch" --- website/manual.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'website') 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 -- cgit v1.2.3