diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/initialize.js | 4 | ||||
-rw-r--r-- | lib/options.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/initialize.js b/lib/initialize.js index a134ed9..619210b 100644 --- a/lib/initialize.js +++ b/lib/initialize.js @@ -44,12 +44,12 @@ module.exports = function run(profile, argv) { confirm[0].message = 'Your current video preference is set to ' + profile.preset.video[1].underline + '. Switch to: ' + videoPreference.green; - profileAssesment(confirm, data); + profileAssesment(confirm, data, profile); }); } - function profileAssesment(confirm, data) { + function profileAssesment(confirm, data, profile) { inquirer.prompt(confirm, function prompt(answers) { if (!answers.confirm) { return console.log('i'.red + ' ' + pkg.name + ' requires video preferences set to ' + videoPreference + '.\n'); } diff --git a/lib/options.js b/lib/options.js index 9cfd300..273d7d9 100644 --- a/lib/options.js +++ b/lib/options.js @@ -29,7 +29,7 @@ var fs = require('fs'), .describe('hq', 'get high quality videos').boolean('hq') .describe('ncc', 'no check certificate').boolean('ncc') .describe('uz', 'unzip handout files').boolean('uz') - .describe('co', 'sequence video files in order of the courseware').boolean('co') + .describe('co', 'arrange video files in correct order of the courseware').boolean('co') .describe('verbose', 'print debug information').boolean('verbose') .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') |