diff options
author | przemyslawpluta <przemekpluta@hotmail.com> | 2014-09-30 23:00:40 +0100 |
---|---|---|
committer | przemyslawpluta <przemekpluta@hotmail.com> | 2014-09-30 23:00:40 +0100 |
commit | cdba20bbd85f1f9167762eac6345679f07375671 (patch) | |
tree | 242b39779dd0c9e88ca83a84fe4b729bc3b0c843 /lib | |
parent | 216dc3cf376d0d352d97b88abf28d14a4adbc177 (diff) | |
download | mongo-edu-cdba20bbd85f1f9167762eac6345679f07375671.zip |
cleanup
Diffstat (limited to 'lib')
-rw-r--r-- | lib/options.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/options.js b/lib/options.js index 614cb25..1b3fb6b 100644 --- a/lib/options.js +++ b/lib/options.js @@ -16,7 +16,7 @@ var fs = require('fs'), prompts = require('./prompts'), pkg = require('../package'), yargs = require('yargs') - .usage('Usage: $0 [options]') + .usage('Usage: mongo-edu [options]') .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') @@ -32,14 +32,14 @@ var fs = require('fs'), .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 captions') - .example('$0 -d your_download_path -u your_user_name --cw --hq --cc --save myvideo', 'save all options under `myvideo` preset and run') - .example('$0 -d your_download_path --load', 'select and run from available presets') - .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') + .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 --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') .demand('d'); var base = {}, |