summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/options.js18
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 = {},