From ba58b51805e001c7ea706bb45e6bee1b2be41673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E8=B6=85?= <2325690622@qq.com> Date: Fri, 14 Apr 2023 22:47:57 +0800 Subject: [PATCH] docs: Replace binary `which` with `node-which` in README.md (#97) --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a6e86ab..323aaf2 100644 --- a/README.md +++ b/README.md @@ -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.