Skip to content
Snippets Groups Projects
Commit a5e7b69d authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

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

Fix issue #372
parent 7375a710
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -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);
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment