Document -i/--interactive option
This commit is contained in:
parent
0066833887
commit
e49eae4047
1 changed files with 2 additions and 1 deletions
|
@ -305,8 +305,9 @@ if (option.file && !option.webdriver) {
|
||||||
helpMessage += " - .html/.htm file.\n";
|
helpMessage += " - .html/.htm file.\n";
|
||||||
helpMessage += " - http://, https://, or file:// URL.\n";
|
helpMessage += " - http://, https://, or file:// URL.\n";
|
||||||
helpMessage += "\nOptions:\n";
|
helpMessage += "\nOptions:\n";
|
||||||
helpMessage += " -r, --require Module to preload (option can be repeated)\n";
|
|
||||||
helpMessage += " -h, --help Print this usage message.\n";
|
helpMessage += " -h, --help Print this usage message.\n";
|
||||||
|
helpMessage += " -i, --interactive Open a REPL to the main process.\n";
|
||||||
|
helpMessage += " -r, --require Module to preload (option can be repeated)\n";
|
||||||
helpMessage += " -v, --version Print the version.";
|
helpMessage += " -v, --version Print the version.";
|
||||||
console.log(helpMessage);
|
console.log(helpMessage);
|
||||||
process.exit(0);
|
process.exit(0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue