Skip to content

Commit

Permalink
plan the --IPFS-URL option (not implemented yet)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mithgol committed Jan 29, 2016
1 parent b7017e0 commit 9f61ab2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions fido2rss.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9f61ab2

Please sign in to comment.