Skip to content

Commit

Permalink
docs: Replace binary which with node-which in README.md (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
DevDengChao authored Apr 14, 2023
1 parent 048a0b3 commit ba58b51
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,15 @@ await which('node', { path: someOtherPath, pathExt: somePathExt })

## CLI USAGE

Same as the BSD `which(1)` binary.
Just like the BSD `which(1)` binary but using `node-which`.

```
usage: which [-as] program ...
usage: node-which [-as] program ...
```

You can learn more about why the binary is `node-which` and not `which`
[here](https://github.com/npm/node-which/pull/67)

## OPTIONS

You may pass an options object as the second argument.
Expand Down

0 comments on commit ba58b51

Please sign in to comment.