From 43a9a5babbd146abcf0f6fc136b4e361f043b763 Mon Sep 17 00:00:00 2001 From: Bobby Wibowo Date: Sun, 27 Dec 2020 19:45:27 +0700 Subject: [PATCH] updated README.md's --- README.md | 3 +-- scripts/README.md | 5 +---- src/README.md | 3 +-- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 7112345..ac78e05 100644 --- a/README.md +++ b/README.md @@ -97,13 +97,12 @@ $ node ./scripts/thumbs.js Generate thumbnails. Usage: -node scripts/thumbs.js [force=0|1] [verbose=0|1] [cfcache=0|1] [parallel] +node scripts/thumbs.js [force=0|1] [verbose=0|1] [cfcache=0|1] mode : 1 = images only, 2 = videos only, 3 = both images and videos force : 0 = no force (default), 1 = overwrite existing thumbnails verbose : 0 = only print missing thumbs (default), 1 = print all, 2 = print nothing cfcache : 0 = do not clear cloudflare cache (default), 1 = clear cloudflare cache -parallel: amount of thumbs to generate in parallel (not to be confused with multi-threading). ``` For example, if you only want to generate thumbnails for image files without overwriting existing ones, you can run `yarn thumbs 1`, or if you want to generate thumbnails for both image and video files, while also overwriting existsing ones, you can run `yarn thumbs 3 1`. diff --git a/scripts/README.md b/scripts/README.md index 6c18b90..b1d411d 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -53,15 +53,12 @@ $ node ./scripts/rebuild-hashes.js -h Rebuild file hashes. Usage: -node scripts/rebuild-hashes.js [parallel] +node scripts/rebuild-hashes.js mode: 0 = Dry run (recalculate hashes, print them, but do NOT store to DB). 1 = Recalculate hashes and store to DB. 2 = Verbose (recalculate hashes, print them, and store to DB). - -parallel: -Amount of uploads to hash in parallel (not to be confused with multi-threading). ``` ## thumbs.js diff --git a/src/README.md b/src/README.md index b05e87c..3630459 100644 --- a/src/README.md +++ b/src/README.md @@ -6,8 +6,7 @@ To bump the version, it's recommended to use use `yarn bump-versions`. ```none $ yarn bump-versions -$ node ./scripts/bump-versions.js - +$ node ./scripts/bump-versions.j Bump version strings for client-side assets. Usage: