summaryrefslogtreecommitdiff
path: root/lib/options.js
diff options
context:
space:
mode:
authorprzemyslawpluta <przemekpluta@hotmail.com>2016-01-16 22:54:06 +0000
committerprzemyslawpluta <przemekpluta@hotmail.com>2016-01-16 22:54:06 +0000
commitdfb20ed3888bc62d29f44e2b8207d282205e67b1 (patch)
tree2d0f7b15cdc8c4a456bf69e8fdd808650002e831 /lib/options.js
parent9964d3803e7fa3bc6823a755de8101cb02333def (diff)
downloadmongo-edu-dfb20ed3888bc62d29f44e2b8207d282205e67b1.zip
update help
Diffstat (limited to 'lib/options.js')
-rw-r--r--lib/options.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/options.js b/lib/options.js
index 11ae37a..24842df 100644
--- a/lib/options.js
+++ b/lib/options.js
@@ -26,16 +26,20 @@ var fs = require('fs'),
.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')
.describe('cc', 'get closed captions').boolean('cc')
+ .describe('cco', 'get only closed captions without downloading videos').boolean('cco')
.describe('hq', 'get high quality videos').boolean('hq')
.describe('ncc', 'no check certificate').boolean('ncc')
.describe('uz', 'unzip handout files').boolean('uz')
.describe('co', 'arrange video files in correct order of the courseware').boolean('co')
.describe('verbose', 'print debug information').boolean('verbose')
+ .describe('retry', 'retry time in seconds if connection / download fails').boolean('retry')
.example('mongo-edu -d your_download_path', 'download videos from wiki')
.example('mongo-edu -d your_download_path -u your_user_name --cw --hq --cc', 'download high quality videos from courseware with closed captions')
.example('mongo-edu -d your_download_path -u your_user_name --cw --hq --cc --save myvideo', 'save all options under `myvideo` preset and run')
.example('mongo-edu -d your_download_path --load', 'select and run from available presets')
.example('mongo-edu -d your_download_path -h --uz', 'download and unzip handouts')
+ .example('mongo-edu -d your_download_path --retry 30', 'retry for 30 seconds if connection / download fails')
+ .example('mongo-edu -d your_download_path -u your_user_name -cco', 'get only closed captions without downloading videos')
.example('mongo-edu -d your_download_path --cw --verbose', 'download videos from courseware and print debug info')
.example('mongo-edu -d your_download_path --cw --proxy http://proxy_ip_address:proxy_port_number', 'download videos from courseware via proxy tunnel')
.example('mongo-edu -d your_download_path --proxy http://proxy_ip_address:proxy_port_number --test', 'test proxy and download video via proxy tunnel')