Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rephrase doc
  • Loading branch information
David Goldstein
David Goldstein committed May 7, 2018
commit e434980992252725a95672b58a34c52610cdcd5e
7 changes: 3 additions & 4 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,9 @@ are linked from more than one location in the dependency tree (Node.js would
see those as two separate modules and would attempt to load the module multiple
times, causing an exception to be thrown).

Note also that the `--preserve-symlinks` flag does not apply to the main
module - this special case helps
`node --preserve-symlinks node_module/.bin/<foo>` work. If you want the same
behavior on the main module, also use `--preserve-symlinks-main`.
The `--preserve-symlinks` flag does not apply to the main module, which allows
`node --preserve-symlinks node_module/.bin/<foo>` to work. To apply the same
behavior for the main module, also use `--preserve-symlinks-main`.

### `--preserve-symlinks-main`
<!-- YAML
Expand Down