Skip to content

Commit

Permalink
Updates the wording
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanis authored and addaleax committed Apr 17, 2019
1 parent b659b46 commit 51481a3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/api/cli.md
Expand Up @@ -774,9 +774,11 @@ if they had been specified on the command line before the actual command line
(so they can be overridden). Node.js will exit with an error if an option
that is not allowed in the environment is used, such as `-p` or a script file.

In case an option happens to contain a space or a backslash (for example within
the path passed to `--require`), they must be escaped using an additional
backslash.
In case an option value happens to contain a space (for example a path listed in
`--require`), it must be escaped using double quotes. For example:
```
--require "./my path/file.js"
```

Node.js options that are allowed are:
- `--diagnostic-report-directory`
Expand Down

0 comments on commit 51481a3

Please sign in to comment.