fixup! diigo-cache: RSS in diigo's export shape, from cached items

compare-export.ts: the manual drops "exits 2 on bad usage"; it's the
convention, and BAD_USAGE documents it.

Generated-by: Claude Opus 5.5
This commit is contained in:
dckc committed 2026-10-07 09:40:47 -05:00
1 parent a40d2e924a
commit 8400078656
1 file changed
+1 -2
+1 -2
View File
@@ -7,8 +7,7 @@
* Generates RSS from the cache's items (src/rss.ts) and compares it with * Generates RSS from the cache's items (src/rss.ts) and compares it with
* the export, keyed on link: title, tags, description, highlights and * the export, keyed on link: title, tags, description, highlights and
* sticky notes. Prints counts to stdout; writes <out-dir>/from-cache.rss * sticky notes. Prints counts to stdout; writes <out-dir>/from-cache.rss
* and <out-dir>/report.json (mismatched links, by category). Exits 2 on * and <out-dir>/report.json (mismatched links, by category).
* bad usage.
*/ */
import * as nodeFs from "node:fs/promises"; import * as nodeFs from "node:fs/promises";
import { basename, join } from "node:path"; import { basename, join } from "node:path";