summaryrefslogtreecommitdiff
path: root/std/manual.md
diff options
context:
space:
mode:
authorNayeem Rahman <muhammed.9939@gmail.com>2020-03-10 23:23:08 +0000
committerGitHub <noreply@github.com>2020-03-10 19:23:08 -0400
commitce14ef09d01ce7f4f028ee37847cafcbe0d42658 (patch)
tree43e741629627e87ec45d727a5fa2cd79f3f8bcbf /std/manual.md
parenta309dcdd0f5bc93849d720328b887931a4810e2f (diff)
doc(cli/flags): Reduce empty lines in help messages (#4312)
Diffstat (limited to 'std/manual.md')
-rw-r--r--std/manual.md57
1 files changed, 2 insertions, 55 deletions
diff --git a/std/manual.md b/std/manual.md
index 026a4330b..f4f2135dc 100644
--- a/std/manual.md
+++ b/std/manual.md
@@ -768,61 +768,8 @@ if (import.meta.main) {
### Flags
-Use `deno help` to see the help text.
-
-```
-A secure JavaScript and TypeScript runtime
-
-Docs: https://deno.land/std/manual.md
-Modules: https://deno.land/x/
-Bugs: https://github.com/denoland/deno/issues
-
-To run the REPL supply no arguments:
-
- deno
-
-To evaluate code from the command line:
-
- deno eval "console.log(30933 + 404)"
-
-To execute a script:
-
- deno https://deno.land/std/examples/welcome.ts
-
-The default subcommand is 'run'. The above is equivalent to
-
- deno run https://deno.land/std/examples/welcome.ts
-
-See 'deno help run' for run specific flags.
-
-USAGE:
- deno [SUBCOMMAND]
-
-OPTIONS:
- -h, --help Prints help information
- -L, --log-level <log-level> Set log level [possible values: debug, info]
- -V, --version Prints version information
-
-SUBCOMMANDS:
- bundle Bundle module and dependencies into single file
- completions Generate shell completions
- eval Eval script
- fetch Fetch the dependencies
- fmt Format files
- help Prints this message or the help of the given subcommand(s)
- info Show info about cache or info related to source file
- install Install script as executable
- repl Read Eval Print Loop
- run Run a program given a filename or url to the source code
- test Run tests
- types Print runtime TypeScript declarations
-
-ENVIRONMENT VARIABLES:
- DENO_DIR Set deno's base directory
- NO_COLOR Set to disable color
- HTTP_PROXY Proxy address for HTTP requests (module downloads, fetch)
- HTTPS_PROXY Same but for HTTPS
-```
+Use `deno help` to see help text documenting Deno's flags and usage. Use
+`deno help <subcommand>` for subcommand-specific flags.
### Environmental variables