2022-05-06 07:41:07 +00:00
|
|
|
load('load/string.js');
|
|
|
|
load('load/funcs.js');
|
2022-05-09 11:27:38 +00:00
|
|
|
|
2022-05-06 07:41:07 +00:00
|
|
|
|
|
|
|
if (argv.length !== 1) {
|
|
|
|
writeln('ERROR: Need a msgbase page prefix');
|
|
|
|
exit(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
ma = new MsgAreas();
|
|
|
|
area = ma.getArea(argv[0]);
|
|
|
|
|
|
|
|
writeln('Opening ['+argv[0]+'] - ('+area.msgbase.cfg.code+')');
|
2022-05-09 11:27:38 +00:00
|
|
|
writeln('- First:'+area.msgbase.first_msg);
|
|
|
|
writeln('- Last:'+area.msgbase.last_msg);
|
2022-05-06 07:41:07 +00:00
|
|
|
|
|
|
|
for (var x in area.headers) {
|
|
|
|
writeln(padright(area.headers[x].number,4,' ')+':'+area.headers[x].tags);
|
|
|
|
}
|