mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
add help printing
This commit is contained in:
@@ -31,6 +31,11 @@ const optimist = require('optimist')
|
||||
// logic
|
||||
const argv = optimist.argv;
|
||||
|
||||
if (argv.help) {
|
||||
optimist.showHelp();
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
const withReporter = (function () {
|
||||
const reporterPath = path.join(path.dirname(require.resolve('mocha')), 'lib', 'reporters', argv.reporter);
|
||||
let ctor;
|
||||
|
||||
Reference in New Issue
Block a user