From 9f61ab2d8ecc50c662404d27100b270fa16e2cd3 Mon Sep 17 00:00:00 2001 From: Mithgol the Webmaster Date: Fri, 29 Jan 2016 22:08:43 +0300 Subject: [PATCH] =?UTF-8?q?plan=20the=20`--IPFS-URL`=20option=20(not=C2=A0?= =?UTF-8?q?implemented=C2=A0yet)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fido2rss.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/fido2rss.js b/fido2rss.js index c251add..6260b26 100644 --- a/fido2rss.js +++ b/fido2rss.js @@ -33,8 +33,15 @@ var opts = require('commander') ' '.repeat(shi) + 'If even "--IPFS" is missing, then UUE-encoded images\n' + ' '.repeat(shi) + 'are not stored in IPFS at all.)' - ) - .parse(process.argv); + ).option('--IPFS-URL', + 'Also uses an IPFS daemon to convert FGHI URLs\n' + + ' '.repeat(shi) + 'of Fidonet messages to IPFS URLs of web pages\n' + + ' '.repeat(shi) + 'that contain FGHI URLs.\n' + + ' '.repeat(shi) + + '(This is useful when raw FGHI URLs are not expected\n' + + ' '.repeat(shi) + 'by RSS readers and thus they become rejected\n' + + ' '.repeat(shi) + 'or misunderstood.)' + ).parse(process.argv); if( typeof opts.lock !== 'string' || opts.lock.length < 1 ){ opts.lock = void 0;