summaryrefslogtreecommitdiff
path: root/mongo-edu.js
diff options
context:
space:
mode:
authorprzemyslawpluta <przemekpluta@hotmail.com>2014-04-02 19:46:42 +0100
committerprzemyslawpluta <przemekpluta@hotmail.com>2014-04-02 19:46:42 +0100
commitae4d98423d51c01c7cacc3c35d0257a745b2b3d0 (patch)
treeab9c3496b3995f4f52c8aa6db4005e65d57fef7f /mongo-edu.js
parent71df97153e9f678e6e7ed8cdabe017480bba669a (diff)
downloadmongo-edu-ae4d98423d51c01c7cacc3c35d0257a745b2b3d0.zip
add closed caption support
Diffstat (limited to 'mongo-edu.js')
-rw-r--r--mongo-edu.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/mongo-edu.js b/mongo-edu.js
index 67a8676..eb74d66 100644
--- a/mongo-edu.js
+++ b/mongo-edu.js
@@ -12,9 +12,10 @@ var mdbvideos = require('./lib/login'),
colors = require('colors'),
inquirer = require('inquirer'),
argv = require('optimist')
- .usage('Usage: $0 -d [download path] -u [user name] -h [get handouts] --ncc [no check certificate]')
+ .usage('Usage: $0 -d [download path] -u [user name] -h [get handouts] --cc [get closed captions] --ncc [no check certificate]')
.describe('d', 'download path').describe('u', 'email address')
.describe('h', 'switch from videos (default) to handouts').boolean('h')
+ .describe('cc', 'get closed captions').boolean('cc')
.describe('ncc', 'no check certificate with py3.x').boolean('ncc')
.demand('d').argv;