Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #1802

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ If you have multiple Python versions installed, you can identify which Python
version `node-gyp` uses by setting the `--python` variable:

``` bash
$ node-gyp --python /path/to/python2.7
$ node-gyp configure --python /path/to/python2.7
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The option applies to more than just configure, but what you could do here is this:


```
$ node-gyp <command> --python /path/to/python2.7
```

Where `<command>` is one of the [commands](#commands) listed below.

(I'm using pre tags to format this, don't use the raw markdown, use the rendered markdown, also the 'bash' type should be dropped here, it gets in the way of proper formatting)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, this line uses /path/to/python2.7 but...
the example just a few lines below uses /path/to/executable/python2.7

This would be more readable it we used consistent paths in these two examples.

```

If `node-gyp` is called by way of `npm`, *and* you have multiple versions of
Expand Down