18 lines
389 B
JavaScript
18 lines
389 B
JavaScript
load('load/string.js');
|
|
load('load/funcs.js');
|
|
load('ansitex/load/msgbases.js');
|
|
|
|
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+')');
|
|
|
|
for (var x in area.headers) {
|
|
writeln(padright(area.headers[x].number,4,' ')+':'+area.headers[x].tags);
|
|
}
|