Commit a5e7b69d authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Fix typos and add the -pause option to the node command-lines

Fix issue #372
parent 7375a710
......@@ -77,8 +77,8 @@ function str_cmds(str)
if(str=="HELP") {
writeln("ERR\tDisplay currrent error log and opptionally delete it as well as");
writeln("\toptionally clearing all nodes error counters.");
writeln("ERR\tDisplay current error log and optionally delete it, as well as");
writeln("\toptionally clearing all nodes' error counters.");
if(str=="ERR") {
var errlog=system.logs_dir+"error.log";
......@@ -152,7 +152,7 @@ function str_cmds(str)
if(str=="HELP") {
writeln("EVAL [string]");
writeln("\tEvaluate a JavaScirpt expression and display result.");
writeln("\tEvaluate a JavaScript expression and display result.");
if(word=="EVAL") {
if(bbs.check_syspass()) {
......@@ -307,7 +307,7 @@ function str_cmds(str)
writeln("\texecutes the node utility with the passed parameters.");
if(word=="NODE") {
bbs.exec(bbs.cmdstr("%!node%.") + str.substr(4).toLowerCase(), EX_STDIO|EX_NATIVE);
bbs.exec(bbs.cmdstr("%!node%. -pause ") + str.substr(4), EX_STDIO|EX_NATIVE);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment