From 53043f6310abc75a07f7c9ae141242966b68fd6c Mon Sep 17 00:00:00 2001 From: John Syomochkin Date: Thu, 2 May 2024 17:39:52 +0300 Subject: [PATCH] Update documentation and fix tupos (#146) --- README.md | 3 ++- src/bin.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d85360c..54aced5 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,7 @@ You can then use the options of the command to fine tune the results. - `--threshold 6m` After what delay do you consider the knowledge lost. starts with a number, followed by 'd' for days, 'w' for weeks, 'm' for months or 'y' for years (1y, 6m, 9w). Defaults to one year. - `--contributors contributors.json` Feed data on contributors, see below for that file's format. +- `--weights weights.json` Feed data on file weights, see below for that file's format. - `--with-media` Media files (images, audio and video) are excluded by default from the scan, setting `--with-media` will include them. - `--with-lockfiles` Lockfiles (`package-lock.json`, `yarn.lock`, `composer.lock`) are excluded by default from the scan, setting `--with-lockfiles` will include them. - `--verbose` Output lots of debug information @@ -72,7 +73,7 @@ Fresh/Fading knowledge Vitalii Shapovalov │ 0.14 % │ 0.14 % │ 0.00 % -List +Lost knowledge Name │ Total ─────────────────────────────────────┼────────── diff --git a/src/bin.js b/src/bin.js index e2cf69a..30c8d7c 100755 --- a/src/bin.js +++ b/src/bin.js @@ -212,7 +212,7 @@ yargs(hideBin(process.argv)) console.log("It seems this repository has no fresh knowledge."); } - renderTitle("List"); + renderTitle("Lost knowledge"); if (result.knowledge.lost.length) { renderLost(result, argv.maxLostContributors); } else {