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

compare-export.ts: exit 2 on bad usage is an external convention, so its
@file cites the source (Bash Reference Manual §3.7.5, Exit Status).

Generated-by: Claude Opus 5.5
This commit is contained in:
dckc committed 2026-10-07 09:39:00 -05:00
1 parent 9c99f4f969
commit 549ff5bf4b
1 file changed
+3 -1
+3 -1
View File
@@ -8,7 +8,9 @@
* 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). Exits 2 on
* bad usage. * bad usage, the shell's convention.
*
* @see https://www.gnu.org/software/bash/manual/html_node/Exit-Status.html
*/ */
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";