summaryrefslogtreecommitdiff
path: root/mongo-edu.js
diff options
context:
space:
mode:
Diffstat (limited to 'mongo-edu.js')
-rw-r--r--mongo-edu.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/mongo-edu.js b/mongo-edu.js
index 49f9b24..b446f8e 100644
--- a/mongo-edu.js
+++ b/mongo-edu.js
@@ -19,7 +19,7 @@ var mdbvideos = require('./lib/login'),
.describe('d', 'download path').describe('u', 'email address')
.describe('h', 'switch from videos (default) to handouts').boolean('h')
.describe('py', 'py switch').describe('py', 'switch to point to Python')
- .describe('proxy', 'pass proxy').describe('proxy', 'proxy address')
+ .describe('proxy', 'pass proxy').describe('proxy', 'pass proxy switch for video download')
.describe('test', 'proxy test').describe('test', 'use with --proxy to test if usable')
.describe('cw', 'switch from wiki\'s video lists (default) to courseware').boolean('cw')
.describe('cwd', 'same as --cw and dumps list of videos to file in -d').boolean('cwd')
@@ -29,6 +29,12 @@ var mdbvideos = require('./lib/login'),
.describe('uz', 'unzip handout files').boolean('uz')
.describe('co', 'sequence video files in order of the courseware').boolean('co')
.describe('verbose', 'print debug information').boolean('verbose')
+ .example('$0 -d your_download_path', 'download videos from wiki')
+ .example('$0 -d your_download_path -u your_user_name --cw --hq --cc', 'download high quality videos from courseware with closed caltions')
+ .example('$0 -d your_download_path -h --uz', 'download and unzip handouts')
+ .example('$0 -d your_download_path --cw --verbose', 'download videos from courseware and print debug info')
+ .example('$0 -d your_download_path --cw --proxy http://proxy_ip_address:proxy_port_number', 'download videos from courseware via proxy tunnel')
+ .example('$0 -d your_download_path --proxy http://proxy_ip_address:proxy_port_number --test', 'test proxy and download video via proxy tunnel')
.demand('d');
exports.create = function start() {