From 8afacdd342d365f1d18a8e90e59760b7c14cf592 Mon Sep 17 00:00:00 2001 From: isaacs Date: Thu, 12 Jan 2023 17:46:56 -0800 Subject: [PATCH] minor doc updates --- README.md | 10 ++++++---- src/bin.ts | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 66a01831..1ceef34d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ The [UNIX command]() `rm -rf` for node. -Install with `npm install rimraf`, or just drop rimraf.js somewhere. +Install with `npm install rimraf`. ## Major Changes from v3 to v4 @@ -12,8 +12,8 @@ Install with `npm install rimraf`, or just drop rimraf.js somewhere. - New implementation on Windows, falling back to "move then remove" strategy when exponential backoff for `EBUSY` fails to resolve the situation. -- Simplified implementation on Posix, since the Windows affordances are not - necessary there. +- Simplified implementation on Posix, since the Windows + affordances are not necessary there. ## API @@ -136,6 +136,8 @@ Synchronous form of `rimraf.moveRemove()` ### Command Line Interface ``` +rimraf version 4.0.4 + Usage: rimraf [ ...] Deletes all files and folders at "path", recursively. @@ -147,7 +149,7 @@ Options: --impl= Specify the implementationt to use. rimraf: choose the best option - native: the C++ implementation in Node.js + native: the built-in implementation in Node.js manual: the platform-specific JS implementation posix: the Posix JS implementation windows: the Windows JS implementation diff --git a/src/bin.ts b/src/bin.ts index f6bc3272..cbc8a26f 100755 --- a/src/bin.ts +++ b/src/bin.ts @@ -18,7 +18,7 @@ Options: --impl= Specify the implementationt to use. rimraf: choose the best option - native: the C++ implementation in Node.js + native: the built-in implementation in Node.js manual: the platform-specific JS implementation posix: the Posix JS implementation windows: the Windows JS implementation